diff --git a/ct/adguard-v5.sh b/ct/adguard-v5.sh index fbb81ab5..0ea3690b 100644 --- a/ct/adguard-v5.sh +++ b/ct/adguard-v5.sh @@ -125,6 +125,7 @@ function default_settings() { } function exit-script() { + clear echo -e "⚠ User exited script \n" exit } @@ -135,6 +136,8 @@ if CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 10 58 2 "0" "Privileged" OFF \ 3>&1 1>&2 2>&3); then echo -e "${DGN}Using Container Type: ${BGN}$CT_TYPE${CL}" +else + exit-script fi if PW1=$(whiptail --inputbox "Set Root Password (needed for root ssh access)" 8 58 --title "PASSWORD(leave blank for automatic login)" 3>&1 1>&2 2>&3); then