This commit is contained in:
Heavybullets8 2022-08-10 17:28:42 -06:00
parent b18818bbd5
commit fd1b04279e

View File

@ -41,8 +41,7 @@ elif [[ "${#containers[@]}" == 0 ]]; then
else else
for pod in "${pod_id[@]}" for pod in "${pod_id[@]}"
do do
# mapfile -t containers < <(echo "$search" | grep "$pod" | awk '{print $4}') echo "$pod"
IFS=" " read -r -a containers <<< "$(echo "$search" | grep "$pod" | awk '{print $4}')"
done done
while true while true
do do