aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2012-11-26 12:30:13 -0500
committerMicah Anderson <micah@riseup.net>2012-11-26 12:30:40 -0500
commit9b679b71a81dac2ca1ba3cbaebb067e9ee6b3946 (patch)
tree69557ac8327c537dbd00ec0a00625a290ced5626 /handlers
parent090cef24382fc43200ebbd1a22283f2453a88ae8 (diff)
downloadbackupninja-9b679b71a81dac2ca1ba3cbaebb067e9ee6b3946.tar.gz
backupninja-9b679b71a81dac2ca1ba3cbaebb067e9ee6b3946.tar.bz2
the 'fatal' here was causing backups to stop after they hit a user who has
trouble, causing all subsequent backups never to fire.
Diffstat (limited to 'handlers')
-rw-r--r--handlers/dsync.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/dsync.in b/handlers/dsync.in
index cae4aac..6752dad 100644
--- a/handlers/dsync.in
+++ b/handlers/dsync.in
@@ -119,8 +119,8 @@ function do_user() {
let "failedcount = failedcount + 1"
fi
- if [ $failedcount -gt 4 ]; then
- fatal "dsync failed 3 times for this user -- something is not working right. bailing out."
+ if [ $failedcount -gt 3 ]; then
+ warning "dsync failed 3 times for this user -- something is not working right. bailing out."
fi
done
}