From: Silvio Rhatto Date: Wed, 1 Sep 2010 22:02:29 +0000 (-0300) Subject: Changing 'info' to 'fatal' at rsync handler set_lockfile function X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c3f4247c06a0e4bcdcd3c2ac36c0ab7ec3d41454;p=backupninja.git Changing 'info' to 'fatal' at rsync handler set_lockfile function --- diff --git a/handlers/rsync.in b/handlers/rsync.in index 3ac4c9b..61a9838 100644 --- a/handlers/rsync.in +++ b/handlers/rsync.in @@ -856,8 +856,7 @@ function set_lockfile { if ( set -o noclobber; echo "$$" > "$lockfile" ) &> /dev/null; then trap 'unset_lockfile' INT TERM EXIT else - info "Could not create lockfile $lockfile, exiting" - exit + fatal "Could not create lockfile $lockfile, exiting" fi fi