Update build.func
This commit is contained in:
parent
d9987442ae
commit
675f68f70d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user