Skip to content
Snippets Groups Projects
Commit 03eadb01 authored by micah's avatar micah :speech_balloon:
Browse files

dsync: fix loop number of iterations, we want to try 3 times, and we are starting at 0

parent c0e571eb
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,7 @@ function do_user() { ...@@ -95,7 +95,7 @@ function do_user() {
local ret=0 local ret=0
debug "syncing" debug "syncing"
while [ $failedcount -lt 4 ]; do while [ $failedcount -lt 3 ]; do
debug $DSYNC $testflags -u $user backup $srcconffile \ debug $DSYNC $testflags -u $user backup $srcconffile \
ssh -i $destid_file $destuser@$desthost $DSYNC $destconffile \ ssh -i $destid_file $destuser@$desthost $DSYNC $destconffile \
-u $user 2>&1 -u $user 2>&1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment