diff --git a/backup.sh b/backup.sh index f588506..65c1c5c 100644 --- a/backup.sh +++ b/backup.sh @@ -14,7 +14,7 @@ fi if [ -n "${RESTIC_FORGET_ARGS}" ]; then echo "Forget about old snapshots based on RESTIC_FORGET_ARGS = ${RESTIC_FORGET_ARGS}" >> /var/log/cron.log restic forget ${RESTIC_FORGET_ARGS} >> /var/log/backup-last.log 2>&1 - + rc=$? if [[ $rc == 0 ]]; then echo "Forget Successfull" >> /var/log/cron.log else