Merge pull request #2638 from MiteshShah/patch-1

Better way to retry curl
This commit is contained in:
Robin Ward
2014-08-12 10:14:57 -04:00
+2 -6
View File
@@ -5,10 +5,6 @@ if [ -f $FILE ]
then
echo "File $FILE exists..."
else
curl localhost
curl localhost
curl localhost
curl localhost
curl localhost
curl --retry 5 localhost
touch /tmp/curl_done
fi
fi