Skip to content

Commit 695acb8

Browse files
authored
Update check_urls.sh
1 parent d12245f commit 695acb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check_urls.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ while IFS=: read -r filepath url; do
2626
| jq -r .request_id)
2727
for _ in {1..3}; do
2828
code=$(curl -sS -H 'Accept: application/json' "https://check-host.net/check-result/$request_id" \
29-
| jq -r -e '.[][0][3]')
29+
| jq -r -e '.[][0][3]') || code=000
3030
[[ "$code" =~ ^[0-9]+$ ]] || code=000
3131
sleep 3
3232
done

0 commit comments

Comments
 (0)