removed variable
This commit is contained in:
parent
d448916d5b
commit
e496fc4c14
@ -26,13 +26,11 @@ do
|
||||
if [[ "$proc_count" -ge "$update_limit" ]]; then
|
||||
sleep 10
|
||||
elif [[ $it -lt ${#array[@]} ]]; then
|
||||
new_updates=0
|
||||
until [[ "$proc_count" -ge "$update_limit" || $it -ge ${#array[@]} ]]
|
||||
do
|
||||
update_apps "${array[$it]}" &
|
||||
processes+=($!)
|
||||
((it++))
|
||||
((new_updates++))
|
||||
((proc_count++))
|
||||
done
|
||||
((ttl++))
|
||||
|
Loading…
Reference in New Issue
Block a user