output supress

This commit is contained in:
Heavybullets8 2022-07-24 22:45:38 -06:00
parent f2143d7330
commit 9cf49ed6c3

View File

@ -13,14 +13,10 @@ count=0
update_apps "$i" &
(( count++ ))
processes+=($!)
jobs -p
while [[ "$count" -ge "$update_limit" ]]
do
jobs -p
pidcount=0
echo "waiting for free space"
wait -n "${processes[pidcount]}" && (( count-- ))
(( pidcount ++ ))
wait -n "${processes[@]}" &> /dev/null && (( count-- ))
done
done