From b7bfe7df1436f655a3bf3eae24bd210095d96541 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 18 Feb 2024 20:46:59 -0500 Subject: [PATCH] Update heimdalldashboard.sh update warning --- ct/heimdalldashboard.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ct/heimdalldashboard.sh b/ct/heimdalldashboard.sh index 98ff9f22..39fd7ba3 100644 --- a/ct/heimdalldashboard.sh +++ b/ct/heimdalldashboard.sh @@ -55,7 +55,11 @@ function default_settings() { function update_script() { header_info if [[ ! -d /opt/Heimdall ]]; then msg_error "No ${APP} Installation Found!"; exit; fi -whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "WARNING" "Currently, v2.6.0 breaks the application." 8 58 +if ! whiptail --backtitle "Proxmox VE Helper Scripts" --title "WARNING" --yesno "Currently, v2.6.0 breaks the application. Proceed?" 10 58; then + clear + echo -e "⚠ User exited script \n" + exit +fi msg_info "Stopping ${APP}" systemctl disable heimdall.service &>/dev/null systemctl stop heimdall