mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-25 08:44:56 +02:00
fix(build.func): remove duplicate if statement causing syntax error on container creation (#15338)
* Initial plan * fix(build.func): remove duplicate if statement causing syntax error --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -5723,7 +5723,6 @@ create_lxc_container() {
|
|||||||
fi
|
fi
|
||||||
local _disable_update="${DISABLE_UPDATE:-no}"
|
local _disable_update="${DISABLE_UPDATE:-no}"
|
||||||
if [[ "${PHS_SILENT:-0}" == "1" || "${_disable_update,,}" == "yes" ]]; then
|
if [[ "${PHS_SILENT:-0}" == "1" || "${_disable_update,,}" == "yes" ]]; then
|
||||||
if [[ "${PHS_SILENT:-0}" == "1" || "${DISABLE_UPDATE,,}" == "yes" ]]; then
|
|
||||||
msg_info "Skipping host LXC stack upgrade prompt (unattended mode)"
|
msg_info "Skipping host LXC stack upgrade prompt (unattended mode)"
|
||||||
return 2
|
return 2
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user