diff options
author | Micah Anderson <micah@riseup.net> | 2012-11-26 12:30:13 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-11-26 12:30:40 -0500 |
commit | 9b679b71a81dac2ca1ba3cbaebb067e9ee6b3946 (patch) | |
tree | 69557ac8327c537dbd00ec0a00625a290ced5626 /handlers | |
parent | 090cef24382fc43200ebbd1a22283f2453a88ae8 (diff) | |
download | backupninja-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.in | 4 |
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 } |