Fix unset DISABLE_UPDATE handling in build prompt guard

This commit is contained in:
copilot-swe-agent[bot]
2026-06-23 04:27:39 +00:00
committed by GitHub
parent a96402797e
commit 8cbdd0ac4d
+1 -1
View File
@@ -5722,7 +5722,7 @@ create_lxc_container() {
return 0
fi
if [[ "${PHS_SILENT:-0}" == "1" || "${DISABLE_UPDATE,,}" == "yes" ]]; then
if [[ "${PHS_SILENT:-0}" == "1" || "${DISABLE_UPDATE:-}" =~ ^([Yy][Ee][Ss])$ ]]; then
msg_info "Skipping host LXC stack upgrade prompt (unattended mode)"
return 2
fi