]> gitweb.fluxo.info Git - backupninja.git/commitdiff
dsync: fix loop number of iterations, we want to try 3 times, and we are starting...
authorMicah Anderson <micah@riseup.net>
Mon, 26 Nov 2012 17:49:16 +0000 (12:49 -0500)
committerMicah Anderson <micah@riseup.net>
Mon, 26 Nov 2012 17:49:16 +0000 (12:49 -0500)
handlers/dsync.in

index 80cfd4dcc96947c4caf81a097f6128e495fcd350..2323326ce025696d53b9c6736c4f7a6a1ec730fe 100644 (file)
@@ -95,7 +95,7 @@ function do_user() {
    local ret=0
 
    debug "syncing"
-   while [ $failedcount -lt 4 ]; do
+   while [ $failedcount -lt 3 ]; do
       debug $DSYNC $testflags -u $user backup $srcconffile \
          ssh -i $destid_file $destuser@$desthost $DSYNC $destconffile \
          -u $user 2>&1