From c3f4247c06a0e4bcdcd3c2ac36c0ab7ec3d41454 Mon Sep 17 00:00:00 2001
From: Silvio Rhatto <rhatto@riseup.net>
Date: Wed, 1 Sep 2010 19:02:29 -0300
Subject: [PATCH] Changing 'info' to 'fatal' at rsync handler set_lockfile
 function

---
 handlers/rsync.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/handlers/rsync.in b/handlers/rsync.in
index 3ac4c9bd..61a9838d 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
 
-- 
GitLab