From: Silvio Rhatto Date: Wed, 1 Sep 2010 22:03:45 +0000 (-0300) Subject: Changing 'info' to 'fatal' at rsync handler set_lockfile function X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=01a4f76db05bc39816dd7aa3bc65e0f0d235f531;p=puppet-backup.git Changing 'info' to 'fatal' at rsync handler set_lockfile function --- diff --git a/files/handlers/rsync b/files/handlers/rsync index 0d9bb11..b4c16b7 100644 --- a/files/handlers/rsync +++ b/files/handlers/rsync @@ -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