ignore conntrack result in 'weave stop'

so we exit with status 0, since not having any existing flows is
perfectly normal
This commit is contained in:
Matthias Radestock committed 2014-09-14 19:08:00 +01:00
1 parent 948312f03d
commit 4c93991651
1 file changed
+1 -1
+1 -1
View File
@@ -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'"