X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=backup.sh;h=a5cc91570a4455e7f90a258a481f761295070fdb;hb=ebd6ca30a863bc9d9d073ab2ea5760f248d2034e;hp=32bb5795e5aea179075e84b1b09ac0d9a18e8cef;hpb=802f95f41c2bdaa73789362665bba9cf69380933;p=backup.sh 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