From 7ea3299dc66b934db6d07a72a96ccc45a4540fa1 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Tue, 9 Feb 2016 22:05:11 +0000 Subject: [PATCH] oops /usr/local/bin/weave: 1172: [: true false: unexpected operator This got broken in #1941. --- weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave b/weave index 18b202e5..4768a47a 100755 --- a/weave +++ b/weave @@ -1179,7 +1179,7 @@ check_running() { if ! STATUS=$(docker inspect --format='{{.State.Running}} {{.State.Restarting}}' $1 2>/dev/null) ; then echo "$1 container is not present. Have you launched it?" >&2 return 1 - elif [ "$STATUS" == "true true" ] ; then + elif [ "$STATUS" = "true true" ] ; then echo "$1 container is restarting." >&2 return 2 elif [ "$STATUS" != "true false" ] ; then