output supress
This commit is contained in:
parent
f2143d7330
commit
9cf49ed6c3
@ -13,14 +13,10 @@ count=0
|
|||||||
update_apps "$i" &
|
update_apps "$i" &
|
||||||
(( count++ ))
|
(( count++ ))
|
||||||
processes+=($!)
|
processes+=($!)
|
||||||
jobs -p
|
|
||||||
while [[ "$count" -ge "$update_limit" ]]
|
while [[ "$count" -ge "$update_limit" ]]
|
||||||
do
|
do
|
||||||
jobs -p
|
|
||||||
pidcount=0
|
|
||||||
echo "waiting for free space"
|
echo "waiting for free space"
|
||||||
wait -n "${processes[pidcount]}" && (( count-- ))
|
wait -n "${processes[@]}" &> /dev/null && (( count-- ))
|
||||||
(( pidcount ++ ))
|
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user