who knowws

This commit is contained in:
Heavybullets8 2022-07-25 14:28:04 -06:00
parent 53a7048dc4
commit 13a13cdbd7

View File

@ -11,7 +11,7 @@ update_limit=2
for i in "${array[@]}"
do
update_apps "$i" &
update_apps "$i" && (( current_updates-- )) &
(( current_updates++ ))
processes+=($!)
while [[ "$current_updates" -ge "$update_limit" ]]