This commit is contained in:
Heavybullets8 2022-08-10 16:33:59 -06:00
parent d830f7e10c
commit 2dc9cc4742

View File

@ -32,7 +32,7 @@ do
echo "$search" | grep "$pod" | awk '{print $4}' echo "$search" | grep "$pod" | awk '{print $4}'
done | nl -s ") " | column -t) done | nl -s ") " | column -t)
if [[ "${#pod_id[@]}" == 1 ]]; then if [[ "${#pod_id[@]}" == 1 ]]; then
container_id=$(echo "$search" | grep -E "[[:space:]]${pod_id[*]}[[:space:]]" | awk '{print $1}') container_id=$(echo "$search" | grep -E "[[:space:]]${containers}[[:space:]]" | awk '{print $1}')
else else
while true while true
do do