mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix pgrep in setup
This commit is contained in:
parent
142a1cca79
commit
952b9366c7
1 changed files with 1 additions and 1 deletions
|
@ -4802,7 +4802,7 @@ mainmenu() {
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
## begin execution ##
|
## begin execution ##
|
||||||
if pgrep setup >/dev/null 2>&1; then
|
if pgrep -f "bash /usr/local/sbin/setup" >/dev/null 2>&1; then
|
||||||
echo "HINT:"
|
echo "HINT:"
|
||||||
echo "setup already runs on a different tty!"
|
echo "setup already runs on a different tty!"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue