Add error message; increase number of subprocesses

This commit is contained in:
Thaurin 2025-02-20 15:54:52 +01:00
parent 62a3d10b4f
commit a2868ea505

View file

@ -361,11 +361,11 @@ else
GotUpdates) GotUpdates+=("$item") ;; GotUpdates) GotUpdates+=("$item") ;;
GotErrors) GotErrors+=("$item") ;; GotErrors) GotErrors+=("$item") ;;
Skip) ;; Skip) ;;
*) ;; *) echo "Error: invalid result from subprocess! (${item})" ;;
esac esac
done < <( \ done < <( \
docker ps $Stopped --filter "name=$SearchName" --format '{{.Names}}' | \ docker ps $Stopped --filter "name=$SearchName" --format '{{.Names}}' | \
xargs -P 8 -I {} bash -c 'check_image "{}"' \ xargs -P 32 -I {} bash -c 'check_image "{}"' \
) )
fi fi