This commit is contained in:
CanbiZ 2024-12-09 10:32:15 +01:00
parent 7fc60c9039
commit e65593751c

View File

@ -588,16 +588,16 @@ install_script() {
timezone=$(cat /etc/timezone)
header_info
while true; do
CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --nocancel --title "SETTINGS" --menu "Choose an option:" \
CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SETTINGS" --menu "Choose an option:" \
12 50 4 \
"1" "Default Settings" \
"2" "Default Settings (with verbose)" \
"3" "Advanced Settings" \
"4" "Exit" 3>&1 1>&2 2>&3)
"4" "Exit" --nocancel 3>&1 1>&2 2>&3)
if [ $? -ne 0 ]; then
echo -e "${CROSS}${RD} Menu canceled. Exiting.${CL}"
exit 1
exit 0
fi
case $CHOICE in