mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-23 07:44:58 +02:00
Handle unset DISABLE_UPDATE safely in build.func
This commit is contained in:
committed by
GitHub
parent
8cbdd0ac4d
commit
f9abae77a4
+2
-1
@@ -5722,7 +5722,8 @@ create_lxc_container() {
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [[ "${PHS_SILENT:-0}" == "1" || "${DISABLE_UPDATE:-}" =~ ^([Yy][Ee][Ss])$ ]]; then
|
||||
local _disable_update="${DISABLE_UPDATE:-}"
|
||||
if [[ "${PHS_SILENT:-0}" == "1" || "${_disable_update,,}" == "yes" ]]; then
|
||||
msg_info "Skipping host LXC stack upgrade prompt (unattended mode)"
|
||||
return 2
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user