Skip to content
Snippets Groups Projects
Commit 12cfb0db authored by david_williams's avatar david_williams
Browse files

improve promote script to use rsync instead of cp

parent 43ff9bc6
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@ then
nTrys=$(($nTrys + 1))
if [ $verboseFlag ] ; then
echo "rsync failed with $exitCode. Retrying $nTrys times."
if [ $nTrys > $maxTrys ] ; then
if [ $nTrys -gt $maxTrys ] ; then
echo "Number of re-trys exceeded. rsync exit code: $exitCode"
exit $exitCode
fi
......
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