Update build.func

This commit is contained in:
CanbiZ 2025-08-04 11:15:53 +02:00
parent d9987442ae
commit 675f68f70d

View File

@ -1430,6 +1430,7 @@ EOF'
if ! lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/$var_install.sh)"; then if ! lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/$var_install.sh)"; then
EXITCODE=$? EXITCODE=$?
echo "DEBUG: lxc-attach exit code was $EXITCODE"
if [[ $EXITCODE -eq 10 ]]; then if [[ $EXITCODE -eq 10 ]]; then
destroy_lxc destroy_lxc
fi fi