]> git.sesse.net Git - backup.sh/commitdiff
Output something even if we succeeded.
authorSteinar H. Gunderson <sesse@samfundet.no>
Sun, 5 Oct 2014 09:52:31 +0000 (11:52 +0200)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sun, 5 Oct 2014 09:52:31 +0000 (11:52 +0200)
backup.sh

index 0303824982b3e736861ae4de018b35fe30e7322e..fe208a28ccbe8a1d3142ec5fc96a36f215d7d91d 100755 (executable)
--- 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