From 61e017b8a2966bb066569b77ffe13d61cfd32231 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 5 Oct 2014 11:52:31 +0200 Subject: [PATCH] Output something even if we succeeded. --- backup.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2