This commit is contained in:
Heavybullets8 2022-07-27 14:36:23 -06:00
parent 2fd4d0a926
commit eb50e56e6b

View File

@ -27,12 +27,10 @@ do
update_apps "${array[$it]}" &
processes+=($!)
((it++))
else
for proc in "${processes[@]}"
do
wait "$proc"
done
elif [[ ${#processes[@]} == 0 ]]; then
break
else
sleep 3
fi
done
rm temp.txt