mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-23 00:54:42 +00:00
core: suppress MOTD for non-interactive shells (#14638)
This commit is contained in:
committed by
GitHub
parent
83859e2219
commit
2fa9ae03a1
+1
-1
@@ -3643,7 +3643,7 @@ start() {
|
||||
run_addon_updates
|
||||
update_motd_ip
|
||||
cleanup_lxc
|
||||
elif ! command -v whiptail &>/dev/null || ! [ -t 0 ]; then
|
||||
elif ! command -v whiptail &>/dev/null || ! [ -t 0 ] || [[ "$TERM" == "dumb" ]]; then
|
||||
msg_info "No interactive terminal detected – defaulting to silent update mode"
|
||||
VERBOSE="no"
|
||||
set_std_mode
|
||||
|
||||
Reference in New Issue
Block a user