From 8c07a3d680659548c0d66e63325c259107fafaa2 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 9 Mar 2023 14:13:43 -0500 Subject: [PATCH] Update adguard-v5.sh --- ct/adguard-v5.sh | 3 +++ 1 file changed, 3 insertions(+) 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