print array elements

This commit is contained in:
Heavybullets8 2022-08-21 22:14:48 -06:00
parent 61bf2efe85
commit 509ee90543

View File

@ -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?"