From 03eadb018b666c19861b79567755fcc54bfb8d7d Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Mon, 26 Nov 2012 12:49:16 -0500 Subject: dsync: fix loop number of iterations, we want to try 3 times, and we are starting at 0 --- handlers/dsync.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/dsync.in b/handlers/dsync.in index 80cfd4d..2323326 100644 --- a/handlers/dsync.in +++ b/handlers/dsync.in @@ -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 -- cgit v1.2.3