Skip to content
Snippets Groups Projects
Commit e2b3cc2f authored by Dave Gson's avatar Dave Gson Committed by Jordon Bedwell
Browse files

Update used url to test for Internet connection

google.com, though a giant url, is not made for connectivity checks and will fail in edge cases (handshake failed in my case). Use https://detectportal.firefox.com instead, which is a domain explicitly made for these checks.
parent 2f569641
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ disconnected=$JEKYLL_VAR_DIR/disconnected
# whether we are connected to the internet.
#
url=https://www.google.com
url=https://detectportal.firefox.com
if wget -q --spider "$url" -O /dev/null 2>/dev/null; then
su-exec jekyll touch "$connected"
exit 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment