We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d12245f commit 695acb8Copy full SHA for 695acb8
scripts/check_urls.sh
@@ -26,7 +26,7 @@ while IFS=: read -r filepath url; do
26
| jq -r .request_id)
27
for _ in {1..3}; do
28
code=$(curl -sS -H 'Accept: application/json' "https://check-host.net/check-result/$request_id" \
29
- | jq -r -e '.[][0][3]')
+ | jq -r -e '.[][0][3]') || code=000
30
[[ "$code" =~ ^[0-9]+$ ]] || code=000
31
sleep 3
32
done
0 commit comments