quotations

This commit is contained in:
Heavybullets8 2022-08-21 22:12:13 -06:00
parent 8b60029b37
commit 3cacd0bb80

View File

@ -34,7 +34,7 @@ do
printf '%s\0' "${containers[@]}" | grep -Fxqz -- "$(echo "$search" | grep "$pod" | awk '{print $4}' | tr -d " \t\r ")" && continue
containers+=("$(echo "$search" | grep "$pod" | awk '{print $4}' | tr -d " \t\r ")")
done
mapfile -t containers < <("echo ${containers[*]}")
mapfile -t containers < <(echo "${containers[*]}")
case "${#containers[@]}" in
0)
echo -e "No containers available\nAre you sure the application in running?"