From 79d4aec1ec49a1dc3624e0cd95beb23d1cd310f9 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 18 Sep 2017 07:18:27 +0100 Subject: [PATCH] cosmetic: move kill_container to correct section --- weave | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() {