remove error message on STOPPED application

This commit is contained in:
Heavybullets8 2022-08-21 22:36:24 -06:00
parent fe76041303
commit d930c734f7

View File

@ -35,7 +35,7 @@ do
# printf '%s\0' "${containers[@]}" | grep -Fxqz -- "$(echo "$search" | grep "$pod" | awk '{print $4}' | tr -d " \t\r ")" && continue
echo "$search" | grep "$pod" | awk '{print $4}' | tr -d " \t\r " >> cont_file
done
mapfile -t containers < <(sort -u cont_file)
mapfile -t containers < <(sort -u cont_file 2> /dev/null)
rm cont_file 2> /dev/null
case "${#containers[@]}" in
0)