Better way to retry curl

This commit is contained in:
Mitesh Shah 2014-08-11 16:30:26 +05:30
parent 85570ddc77
commit 93e3a58982

View file

@ -5,10 +5,6 @@ if [ -f $FILE ]
then then
echo "File $FILE exists..." echo "File $FILE exists..."
else else
curl localhost curl --retry 5 localhost
curl localhost
curl localhost
curl localhost
curl localhost
touch /tmp/curl_done touch /tmp/curl_done
fi fi