From b46ccc0937a4807ad125a4572945c411c9c3ef7d Mon Sep 17 00:00:00 2001 From: Marc CARRE Date: Tue, 9 May 2017 11:11:21 +0100 Subject: [PATCH] Remove brackets from condition in protect_against_docker_hang. --- weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave b/weave index 5dea727b..6dfe0f90 100755 --- a/weave +++ b/weave @@ -1442,7 +1442,7 @@ stop_proxy() { protect_against_docker_hang() { # If the plugin is not running, remove its socket so Docker doesn't try to talk to it - if [ ! is_plugin_v1_enabled ] && [ ! is_plugin_v2_enabled ] ; then + if ! is_plugin_v1_enabled && ! is_plugin_v2_enabled ; then rm -f $HOST_ROOT/run/docker/plugins/weave.sock $HOST_ROOT/run/docker/plugins/weavemesh.sock fi }