From: Steinar H. Gunderson Date: Sun, 5 Oct 2014 22:32:58 +0000 (+0200) Subject: Small logging tweaks. X-Git-Url: https://git.sesse.net/?p=backup.sh;a=commitdiff_plain;h=fd7b2438b6b32f72462ebc4238800bea70aaf308 Small logging tweaks. --- diff --git a/backup-cron.sh b/backup-cron.sh index 6800136..b585317 100755 --- a/backup-cron.sh +++ b/backup-cron.sh @@ -37,7 +37,7 @@ echo "" for computer in $unixcomputers; do echo "$computer" - echo "==============" + echo "==========================" cat $logbasename.$computer.stdout echo "" done diff --git a/backup.sh b/backup.sh index 6352fce..46f72c3 100755 --- 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