This commit is contained in:
Santiago Lo Coco 2022-01-05 12:17:43 -03:00
parent f5fb0726f1
commit 6752b96098
1 changed files with 1 additions and 1 deletions

View File

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