From 4c939916511e84a06828c2484c64bb508cc3bc3c Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Sun, 14 Sep 2014 19:08:00 +0100 Subject: [PATCH] ignore conntrack result in 'weave stop' so we exit with status 0, since not having any existing flows is perfectly normal --- weaver/weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/weave b/weaver/weave index 87c6c4c8..62e11d22 100755 --- a/weaver/weave +++ b/weaver/weave @@ -199,7 +199,7 @@ case "$COMMAND" in echo "Weave is not running." fi docker rm -f weave >/dev/null 2>&1 || true - check_command_and_run conntrack conntrack -D -p udp --dport 6783 >/dev/null 2>&1 + check_command_and_run conntrack conntrack -D -p udp --dport 6783 >/dev/null 2>&1 || true ;; *) echo "Unknown weave command '$COMMAND'"