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:
1 parent
948312f03d
commit
4c93991651
1 file changed
+1
-1
+1
-1
@@ -199,7 +199,7 @@ case "$COMMAND" in
|
|||||||
echo "Weave is not running."
|
echo "Weave is not running."
|
||||||
fi
|
fi
|
||||||
docker rm -f weave >/dev/null 2>&1 || true
|
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'"
|
echo "Unknown weave command '$COMMAND'"
|
||||||
|
|||||||
Reference in new issue
Block a user