Remove brackets from condition in protect_against_docker_hang.
This commit is contained in:
1 parent
e89fc8f66a
commit
b46ccc0937
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user