From 192c3a527e5e0d6c176a5c083710b2568c6698a2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 11 Jan 2019 06:41:20 +0100 Subject: Adding verbose output when using '-n ALL' options with container commands. Signed-off-by: Daniel Baumann --- lib/container/restart | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/container/restart') diff --git a/lib/container/restart b/lib/container/restart index bdce06a..3ed9968 100755 --- a/lib/container/restart +++ b/lib/container/restart @@ -82,6 +82,12 @@ case "${NAME}" in for NAME in ${NAMES} do + case "${VERBOSE}" in + true) + echo "Restarting container ${NAME}..." + ;; + esac + container restart --name ${NAME} || true done -- cgit v1.2.3