diff --git a/install.sh b/install.sh index 7968d81..dca825c 100755 --- a/install.sh +++ b/install.sh @@ -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