From 64420ecb20bc7616bacfdca7788dc2d517ea8600 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 8 Jan 2014 15:24:42 +0100 Subject: ship/lib/network: fix internet test --- ship/lib/network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ship/lib') 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 -- cgit v1.2.3