Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace python link checker with bash #216

Merged
merged 10 commits into from
Jun 24, 2020
Prev Previous commit
Fix double if in ladder
It's like I should be testing these changes before I commit them..
  • Loading branch information
zevisert committed Jun 13, 2020
commit e0f8b363f086ce44f6c377f5f78e27bd90c3c5d9
2 changes: 1 addition & 1 deletion link_checker/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ test_link () {
[[ ! $QUIET ]] && echo >&2 "🌎 [---] DNS lookup didn't resolve ${hostport}."
return 1 # Failed DNS

if [[ "$curl_status" -eq 35 ]]; then
elif [[ "$curl_status" -eq 35 ]]; then
[[ $MARKDOWN ]] && echo "* [ ] --- $text $link (FAILED SSL HANDSHAKE)"
[[ ! $QUIET ]] && echo >&2 "🤝 [---] Handshaking with ${hostport} failed."
return 1 # Failed SSL
Expand Down