]> gitweb.fluxo.info Git - backupninja.git/commitdiff
the 'fatal' here was causing backups to stop after they hit a user who has
authorMicah Anderson <micah@riseup.net>
Mon, 26 Nov 2012 17:30:13 +0000 (12:30 -0500)
committerMicah Anderson <micah@riseup.net>
Mon, 26 Nov 2012 17:30:40 +0000 (12:30 -0500)
trouble, causing all subsequent backups never to fire.

handlers/dsync.in

index cae4aacff1689c9136b9f98dea5ce09138678e3d..6752dad4b3cc74cd9deabbe21b6a482182753f86 100644 (file)
@@ -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
 }