diff --git a/pbs-zfs-daily.sh b/pbs-zfs-daily.sh index 1e6c027..b8a5d5c 100644 --- a/pbs-zfs-daily.sh +++ b/pbs-zfs-daily.sh @@ -80,7 +80,7 @@ fi if [[ "$BACKUPSERVER" == "no" ]]; then echo No Backup configured in this Run - [[ "$SHUTDOWN" == "yes" ]] && exit + [[ "$SHUTDOWN" == "no" ]] && exit fi PRUNEJOB=$(ssh $PBSHOST proxmox-backup-manager prune-job list --output-format json-pretty | grep -m 1 "id" | cut -d'"' -f4)