Skip to content

Commit 7a0ca05

Browse files
committed
fix possible whiptail issue
1 parent fb3bf03 commit 7a0ca05

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

misc/build.func

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -875,8 +875,9 @@ install_script() {
875875
header_info
876876
while true; do
877877

878-
TMP_CHOICE=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" \
879-
18 60 6 \
878+
TMP_CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" \
879+
--title "SETTINGS" \
880+
--menu "Choose an option:" 20 60 6 \
880881
"1" "Default Settings" \
881882
"2" "Default Settings (with verbose)" \
882883
"3" "Advanced Settings" \
@@ -950,7 +951,7 @@ install_script() {
950951
exit 0
951952
;;
952953
*)
953-
echo -e "${CROSS}${RD}Invalid option, please try again.${CL}"
954+
echo -e "\n${CROSS}${RD}Invalid option, please try again.${CL}\n"
954955
;;
955956
esac
956957
done

0 commit comments

Comments
 (0)