summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/lib/autowifi/lib/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/lib/autowifi/lib/network b/usr/lib/autowifi/lib/network
index 32ecafc4..aabac89b 100644
--- a/usr/lib/autowifi/lib/network
+++ b/usr/lib/autowifi/lib/network
@@ -4,7 +4,7 @@ check_gateway(){
ping -c 1 -w 5 $(ip route | awk '/default/{print $3}')
}
check_internet(){
- secret=$(wget -O- http://krebsco.de/secret)
+ secret=$(wget -O- http://krebsco.de/secret 2>/dev/null)
if [ "$secret" == "1337" ]; then
return 0
else