diff options
author | ars <asav1410@gmail.com> | 2020-10-28 20:14:52 +0000 |
---|---|---|
committer | ars <asav1410@gmail.com> | 2020-10-28 20:14:52 +0000 |
commit | f9fcb8c31de8ffd5592c0bfc5b5591f205ecf012 (patch) | |
tree | 6565490d8aa4a4b607c7139d1c7eb1df51dd9d6f | |
parent | 52f1f2744d2af3bc2e7fc95552d4da512c4ad2aa (diff) |
Change cURL limit to 3 attempts which is required by word of the day.
-rwxr-xr-x | oedquery.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |