added exception for 302 response codes to prevent false positives #9

Merged
ajohnson merged 1 commits from 302exception into master 2 years ago

@ -172,6 +172,10 @@ for site in $(read_checklist); do
printf '%s\n' "[$(print_time)]: OK -- $site returns $respcode"
db_dec $site
;;
302)
printf '%s\n' "[$(print_time)]: WARNING -- $site returns $respcode"
db_dec $site
;;
999)
printf '%s\n' "[$(print_time)]: PROBLEM -- $site caused general cURL failure" >&2
db_inc $site

Loading…
Cancel
Save