]> git.sesse.net Git - backup.sh/blobdiff - backup.sh
Output something even if we succeeded.
[backup.sh] / 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