aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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