]> git.sesse.net Git - backup.sh/commitdiff
Log to both stderr and stdout
authorroot <empty>
Wed, 15 Aug 2007 15:10:14 +0000 (15:10 +0000)
committerroot <empty>
Wed, 15 Aug 2007 15:10:14 +0000 (15:10 +0000)
backup.sh

index 32bb5795e5aea179075e84b1b09ac0d9a18e8cef..a5cc91570a4455e7f90a258a481f761295070fdb 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -20,6 +20,7 @@ trap die SIGINT SIGTERM
 # Don't start if we're already running
 if [ -e $LOCKFILE ]; then
        echo `date`": $LOCKFILE exists, exiting."
+       echo `date`": $LOCKFILE exists, exiting." >&2
        exit 1
 fi;
 touch $LOCKFILE