From bc52256301a25c198f147b6c2bfbda68d4745746 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Fri, 24 Oct 2025 09:19:34 +0200 Subject: [PATCH] fix: Container ID display not showing after whiptail input - Move echo statement outside whiptail output capture block - Fix output redirection interference with Container ID display - Ensure Container ID is properly displayed regardless of user input - Consolidate duplicate echo statements into single display --- scripts/core/build.func | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/core/build.func b/scripts/core/build.func index 95a78d7..7df7fbd 100755 --- a/scripts/core/build.func +++ b/scripts/core/build.func @@ -439,17 +439,14 @@ advanced_settings() { exit_script fi done - if CT_ID=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set Container ID" 8 58 "$NEXTID" --title "CONTAINER ID" 3>&1 1>&2 2>&3); then if [ -z "$CT_ID" ]; then CT_ID="$NEXTID" - echo -e "${CONTAINERID}${BOLD}${DGN}Container ID: ${BGN}$CT_ID${CL}" - else - echo -e "${CONTAINERID}${BOLD}${DGN}Container ID: ${BGN}$CT_ID${CL}" fi else exit_script fi + echo -e "${CONTAINERID}${BOLD}${DGN}Container ID: ${BGN}$CT_ID${CL}" while true; do if CT_NAME=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set Hostname" 8 58 "$NSAPP" --title "HOSTNAME" 3>&1 1>&2 2>&3); then