Fixed oopsie

This commit is contained in:
2020-10-09 14:19:02 +02:00
parent de53e32441
commit abe8aefb10

View File

@@ -227,9 +227,9 @@ if [ $IMODE = n ]; then
if [ $TestMode = 0 ]; then
domain=$(whiptail --nocancel --inputbox " Enter the domain without WWW " 11 82 --title "Config" 3>&1 1>&2 2>&3)
if (whiptail --title "Config" --yesno "Does www.${domain} exist in DNS?" 11 82 ); then
sslenable=1
domainwww=1
else
sslenable=0
domainwww=0
fi
if (whiptail --title "Config" --yesno "Set sitename to ${domain//./_} ?" 8 78 ); then
sitename=${domain//./_}