debugging

This commit is contained in:
Heavybullets8 2022-08-12 09:47:35 -06:00
parent 60418e846b
commit 80d10a5df2

View File

@ -29,6 +29,7 @@ for pod in "${pod_id[@]}"
do do
printf '%s\0' "${containers[@]}" | grep -Fxqz -- "$(echo "$search" | grep "$pod" | awk '{print $4}' | tr -d " \t\r ")" && continue 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 ")") containers+=("$(echo "$search" | grep "$pod" | awk '{print $4}' | tr -d " \t\r ")")
echo "ADDED" "$(echo "$search" | grep "$pod" | awk '{print $4}' | tr -d " \t\r ")"
done done
case "${#containers[@]}" in case "${#containers[@]}" in
0) 0)