-
-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Line 44 in c9d124a
| ping -c 1 -W 2 8.8.8.8 > /dev/null 2>&1 |
Internet checks only ICMP reachability but script does a lot of HTTPs in CNAME URLs, the right way to check internet in this case will be try to download something in HTTPs:
wget -q -O - "https://raw.githubusercontent.com/psygreg/linuxtoys/refs/heads/main/README.md" > /dev/null || echo "No internet, or TLS, or SSL handshakeMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working