Added exit to webserver menu

This commit is contained in:
bprieshof
2019-12-05 10:53:44 +01:00
parent d77c939412
commit b1993aed7d

View File

@@ -66,6 +66,8 @@ domain=$(whiptail --nocancel --inputbox " Enter the domai
password=$(whiptail --nocancel --passwordbox "Please enter your password (should contain at least 2 digits and 6 characters)" 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)
esws=$?
[[ "$esws" = 1 ]] && exit;
fi
if [ $IMODE = l ]; then