diff --git a/weave b/weave index f9ced178..e9621d7e 100755 --- a/weave +++ b/weave @@ -200,10 +200,6 @@ collect_cidr_args() { done } -kill_container() { - util_op kill-container $1 >/dev/null 2>&1 || true -} - ###################################################################### # main ###################################################################### @@ -577,6 +573,10 @@ attach() { # functions for interacting with containers ###################################################################### +kill_container() { + util_op kill-container $1 >/dev/null 2>&1 || true +} + # Print an error to stderr and return with an indicative exit status # if the container $1 does not exist or isn't running. check_running() {