From 2d0be34a937d7bddef44d26cb9651cafad760b40 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Fri, 17 Jun 2016 15:06:29 +0100 Subject: [PATCH] Fix check to see if plugin is running --- weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave b/weave index 7d824974..d5158abd 100755 --- a/weave +++ b/weave @@ -1868,7 +1868,7 @@ stop_plugin() { protect_against_docker_hang() { # If the plugin is not running, remove its socket so Docker doesn't try to talk to it - if !check_running $PLUGIN_CONTAINER_NAME 2>/dev/null ; then + if ! check_running $PLUGIN_CONTAINER_NAME 2>/dev/null ; then rm -f /run/docker/plugins/weave.sock /run/docker/plugins/weavemesh.sock fi }