mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 11:42:03 +08:00
Better way to retry curl
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user