From 509ee9054326e55af272d93d537d059271c6639f Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Sun, 21 Aug 2022 22:14:48 -0600 Subject: [PATCH] print array elements --- functions/cmd_to_container.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/cmd_to_container.sh b/functions/cmd_to_container.sh index bde8c2e9..2541e095 100644 --- a/functions/cmd_to_container.sh +++ b/functions/cmd_to_container.sh @@ -39,6 +39,7 @@ for i in "${containers[@]}" do echo "$i" done +printf '%s\n' "${containers[@]}" case "${#containers[@]}" in 0) echo -e "No containers available\nAre you sure the application in running?"