aboutsummaryrefslogtreecommitdiff
path: root/files/handlers/rsync
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-09-01 19:03:45 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-09-01 19:03:45 -0300
commit01a4f76db05bc39816dd7aa3bc65e0f0d235f531 (patch)
treeb232adc9724b680b61e847ad007542a1f694d6c9 /files/handlers/rsync
parent247f2a353386daf82399228b2bc01a4aa12ff81f (diff)
downloadpuppet-backup-01a4f76db05bc39816dd7aa3bc65e0f0d235f531.tar.gz
puppet-backup-01a4f76db05bc39816dd7aa3bc65e0f0d235f531.tar.bz2
Changing 'info' to 'fatal' at rsync handler set_lockfile function
Diffstat (limited to 'files/handlers/rsync')
-rw-r--r--files/handlers/rsync3
1 files changed, 1 insertions, 2 deletions
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