diff --git a/turnkey/turnkey.sh b/turnkey/turnkey.sh index f4100572..795dfbcb 100644 --- a/turnkey/turnkey.sh +++ b/turnkey/turnkey.sh @@ -204,7 +204,7 @@ pct start "$CTID" sleep 5 # Get container IP -set +e +set +euo pipefail # Turn off error checking max_attempts=5 attempt=1 IP="" @@ -224,7 +224,6 @@ if [[ -z $IP ]]; then IP="NOT FOUND" fi -set -e # Start Proxmox VE Monitor-All if available if [[ -f /etc/systemd/system/ping-instances.service ]]; then systemctl start ping-instances.service