Fix bug
This commit is contained in:
parent
5db88c59aa
commit
57b71c83c6
|
@ -459,7 +459,7 @@ checkForSystemdUnit() {
|
|||
if [ "${3}" = "oneshot" ]; then
|
||||
while [ $forceExit = false ]; do
|
||||
result=$(systemctl show -p ActiveState --value ${2})
|
||||
[ "$result" = "activating" ] && break
|
||||
[ "$result" = "inactive" ] && break
|
||||
sleep 1
|
||||
done
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue