From 2448723d198109c5a95e67362e1f6e36208ce70e Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Sat, 16 May 2026 00:44:27 +0200 Subject: [PATCH] build.func: fall back to silent mode when no TTY or whiptail unavailable (#14497) --- misc/build.func | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/misc/build.func b/misc/build.func index ef8fde3b6..45e9e2745 100644 --- a/misc/build.func +++ b/misc/build.func @@ -3649,6 +3649,16 @@ start() { run_addon_updates update_motd_ip cleanup_lxc + elif ! command -v whiptail &>/dev/null || ! [ -t 0 ]; then + msg_info "No interactive terminal detected – defaulting to silent update mode" + VERBOSE="no" + set_std_mode + ensure_profile_loaded + get_lxc_ip + update_script + run_addon_updates + update_motd_ip + cleanup_lxc else CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "${APP} LXC Update/Setting" --menu \ "Support/Update functions for ${APP} LXC. Choose an option:" \