diff --git a/scripts/create-proxmox-resource.sh b/scripts/create-proxmox-resource.sh index e10473e..ac82260 100755 --- a/scripts/create-proxmox-resource.sh +++ b/scripts/create-proxmox-resource.sh @@ -320,6 +320,7 @@ for id in $(pct list 2>/dev/null | awk 'NR>1{print $1}'); do n="$(pct config "$id" 2>/dev/null | grep -oP '^hostname:\s*\K\S+' || true)" [[ "$n" == "$target" ]] && echo "lxc ${id} ${n}" done +exit 0 REMOTE_SCRIPT )" || ssh_check_status=$? if [[ "$ssh_check_status" -ne 0 ]]; then