added exit MSG

This commit is contained in:
bprieshof
2019-12-05 10:57:13 +01:00
parent b1993aed7d
commit 52bb5ad4e7

View File

@@ -67,7 +67,7 @@ password=$(whiptail --nocancel --passwordbox "Please enter your password (should
email=$(whiptail --nocancel --inputbox " Enter the administrator e-mail" 11 82 --title "Config" 3>&1 1>&2 2>&3) email=$(whiptail --nocancel --inputbox " Enter the administrator e-mail" 11 82 --title "Config" 3>&1 1>&2 2>&3)
webserv=$(whiptail --title "Select Webserver" --radiolist "WebServer" 11 53 5 "Nginx:" "Will install NGINX Webserver." ON "Apache:" "Will install Apache Webserver." OFF 3>&1 1>&2 2>&3) webserv=$(whiptail --title "Select Webserver" --radiolist "WebServer" 11 53 5 "Nginx:" "Will install NGINX Webserver." ON "Apache:" "Will install Apache Webserver." OFF 3>&1 1>&2 2>&3)
esws=$? esws=$?
[[ "$esws" = 1 ]] && exit; [[ "$esws" = 1 ]] && msg "Quiting installer." 8 78 && exit;
fi fi
if [ $IMODE = l ]; then if [ $IMODE = l ]; then