fix pgrep in setup

This commit is contained in:
Tobias Powalowski 2022-03-21 09:25:49 +01:00
parent 142a1cca79
commit 952b9366c7

View file

@ -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