From 52e4e5ff39b2f605b72d7e5e85aee2e096aed98a Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 23 Jun 2026 07:29:05 +0200 Subject: [PATCH] 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> --- misc/build.func | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/misc/build.func b/misc/build.func index e9caa476d..38c331945 100644 --- a/misc/build.func +++ b/misc/build.func @@ -5721,9 +5721,8 @@ create_lxc_container() { msg_debug "No newer candidate for pve-container/lxc-pve (installed=$_pvec_i/$_lxcp_i, cand=$_pvec_c/$_lxcp_c)" return 0 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 msg_info "Skipping host LXC stack upgrade prompt (unattended mode)" return 2 fi