cosmetic: move kill_container to correct section
This commit is contained in:
1 parent
89c7e6d337
commit
79d4aec1ec
1 file changed
+4
-4
@@ -200,10 +200,6 @@ collect_cidr_args() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
kill_container() {
|
|
||||||
util_op kill-container $1 >/dev/null 2>&1 || true
|
|
||||||
}
|
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# main
|
# main
|
||||||
######################################################################
|
######################################################################
|
||||||
@@ -577,6 +573,10 @@ attach() {
|
|||||||
# functions for interacting with containers
|
# 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
|
# Print an error to stderr and return with an indicative exit status
|
||||||
# if the container $1 does not exist or isn't running.
|
# if the container $1 does not exist or isn't running.
|
||||||
check_running() {
|
check_running() {
|
||||||
|
|||||||
Reference in new issue
Block a user