]> git.sesse.net Git - backup.sh/commitdiff
Small logging tweaks.
authorSteinar H. Gunderson <sesse@samfundet.no>
Sun, 5 Oct 2014 22:32:58 +0000 (00:32 +0200)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sun, 5 Oct 2014 22:32:58 +0000 (00:32 +0200)
backup-cron.sh
backup.sh

index 6800136e53235a71cc86229855432170e568c6d7..b58531739e8385ff8d114ec88b5db41b1ac5f067 100755 (executable)
@@ -37,7 +37,7 @@ echo ""
 
 for computer in $unixcomputers; do
        echo "$computer"
-       echo "=============="
+       echo "=========================="
        cat $logbasename.$computer.stdout
        echo ""
 done
index 6352fcebdff1b3a5eef94053292b9f58aea60ddc..46f72c3ae64c8331fd46e7efa41c39bacbf74fff 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -284,7 +284,7 @@ if ! ssh root@$computer "[ ! -f /root/.backup/postexec ] || /bin/bash -x /root/.
 fi
 
 # Use warn so that we will get an email even on success.
-warnmsg "$computer: Backup completed successfully."
+warnmsg "Backup completed successfully."
 
 # Remove lockfile
 rm $LOCKFILE