From 01a4f76db05bc39816dd7aa3bc65e0f0d235f531 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 1 Sep 2010 19:03:45 -0300 Subject: Changing 'info' to 'fatal' at rsync handler set_lockfile function --- files/handlers/rsync | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3