From ebd6ca30a863bc9d9d073ab2ea5760f248d2034e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 15 Aug 2007 15:10:14 +0000 Subject: [PATCH] Log to both stderr and stdout --- backup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/backup.sh b/backup.sh index 32bb579..a5cc915 100755 --- 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 -- 2.39.2