Skip to content

Commit

Permalink
Add comment for another email point
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUbuntuGuy committed Sep 25, 2016
1 parent e37c63c commit 5e2e85d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run-zfs-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ done

if [ $RETRIES -eq 0 ]; then
echo "ERROR: Backup server not online, giving up"
# TODO call your own sendmail program/script here
exit 1
fi

Expand Down Expand Up @@ -107,3 +108,5 @@ echo "Powering off backup server..."
ssh -n $REM_LOGIN "poweroff"
echo "End time: $(date)"
echo "Backup process complete. Exiting"

exit 0

0 comments on commit 5e2e85d

Please sign in to comment.