aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--handlers/rsync.in3
1 files changed, 1 insertions, 2 deletions
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