summaryrefslogtreecommitdiffstats
path: root/ship
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-01-08 15:24:42 +0100
committermakefu <github@syntax-fehler.de>2014-01-08 15:24:42 +0100
commit64420ecb20bc7616bacfdca7788dc2d517ea8600 (patch)
tree35496957098dd6f6eb7da5af99829c79cfd98430 /ship
parent2a635edf1ca33d07058533079fdab64ef3a521d0 (diff)
ship/lib/network: fix internet test
Diffstat (limited to 'ship')
-rw-r--r--ship/lib/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship/lib/network b/ship/lib/network
index 75ceb9b8..68e29301 100644
--- a/ship/lib/network
+++ b/ship/lib/network
@@ -38,7 +38,7 @@ http_head(){
internet(){
secret=$(http_get http://krebsco.de/secret 2>/dev/null)
- if [ "$secret" == "1337" ]; then
+ if [ "$secret" = "1337" ]; then
return 0
else
echo "cannot load secret or secret incorrect" >&2