From: Steinar H. Gunderson Date: Sun, 5 Oct 2014 09:52:31 +0000 (+0200) Subject: Output something even if we succeeded. X-Git-Url: https://git.sesse.net/?p=backup.sh;a=commitdiff_plain;h=61e017b8a2966bb066569b77ffe13d61cfd32231 Output something even if we succeeded. --- diff --git a/backup.sh b/backup.sh index 0303824..fe208a2 100755 --- a/backup.sh +++ b/backup.sh @@ -279,6 +279,9 @@ done if ! ssh root@$computer "[ ! -f /root/.backup/postexec ] || /bin/bash -x /root/.backup/postexec" >&2; then diemsg "Could not run $computer:/root/.backup/postexec" fi + +echo `date`": $computer: Backup completed successfully." +echo `date`": $computer: Backup completed successfully." >&2 # Remove lockfile rm $LOCKFILE