diff options
author | makefu <github@syntax-fehler.de> | 2013-07-06 02:39:47 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-07-06 02:39:47 +0200 |
commit | 7356d022cab45297c2aadeaa02834a354daf1c66 (patch) | |
tree | 7550f4111ce815717b56df161e251f2f7ceed79d | |
parent | 99762c1f22ece68c5fa22271de14d56045f0ed6f (diff) |
fix error message when being connected to the interwebs
-rw-r--r-- | usr/lib/autowifi/lib/network | 2 |
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 } |