Fix bug
This commit is contained in:
parent
f5fb0726f1
commit
6752b96098
|
@ -456,7 +456,7 @@ checkForSystemdUnit() {
|
|||
trap 'systemctl stop ${2}' INT
|
||||
systemctl is-active --quiet ${2}
|
||||
[ $? -eq 0 ] && return
|
||||
calcHeightAndRun "whiptail --infobox \"Waiting for the ${1} to finish.\" 7 WIDTH"
|
||||
calcWidthAndRun "whiptail --infobox \"Waiting for the ${1} to finish.\" 7 WIDTH"
|
||||
systemctl is-active --quiet ${2}
|
||||
while [ $? -ne 0 ]; do
|
||||
sleep 1
|
||||
|
|
Loading…
Reference in New Issue