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

dsync: break out of the while loop using 'break' instead of setting the...

dsync: break out of the while loop using 'break' instead of setting the failedcount number, otherwise this will trigger the warning later
parent 03eadb01
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ function do_user() {
let "failedcount = failedcount + 1"
elif [ $ret == 0 ]; then
# things worked, so we break out of the loop
let "failedcount = 4"
break
ssh -o PasswordAuthentication=no $desthost -l $destuser -i $destid_file $sshoptions "date +%c%n%s > $stripped_destdir/$letter/$user/$btype.1/created"
elif [ $ret != 0 ]; then
# things did not work in a good way, report it and try again
......
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