aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-09-01 19:02:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-09-01 19:02:29 -0300
commitc3f4247c06a0e4bcdcd3c2ac36c0ab7ec3d41454 (patch)
treea1e130a56dcd487cca5bb79802cf7fe6dd1c9f8a
parent7cbf1b20138d9b0fc45758f691ae54976b67ae97 (diff)
downloadbackupninja-c3f4247c06a0e4bcdcd3c2ac36c0ab7ec3d41454.tar.gz
backupninja-c3f4247c06a0e4bcdcd3c2ac36c0ab7ec3d41454.tar.bz2
Changing 'info' to 'fatal' at rsync handler set_lockfile function
-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