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 5394e7c9..c21f0db0 100644
--- a/usr/lib/autowifi/lib/network
+++ b/usr/lib/autowifi/lib/network
@@ -7,9 +7,9 @@ check_internet(){
# TODO determine the loader, either wget or curl
secret=$(wget -O- http://krebsco.de/secret 2>/dev/null)
if [ "$secret" == "1337" ]; then
- echo "cannot load secret or secret incorrect" >&2
return 0
else
+ echo "cannot load secret or secret incorrect" >&2
return 1
fi
}