From f9fcb8c31de8ffd5592c0bfc5b5591f205ecf012 Mon Sep 17 00:00:00 2001 From: ars Date: Wed, 28 Oct 2020 20:14:52 +0000 Subject: Change cURL limit to 3 attempts which is required by word of the day. --- oedquery.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oedquery.sh b/oedquery.sh index 3e82ba8..7b8c3a2 100755 --- a/oedquery.sh +++ b/oedquery.sh @@ -9,7 +9,7 @@ OPTS='--silent -L -H "app_id: $appId" -H "app_key: $appKey"' curlCount=0 _curl() { - if [[ $curlCount -ge 2 ]] + if [[ $curlCount -ge 3 ]] then echo "cURL loop, exiting." exit 0 -- cgit v1.2.3