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]}" & update_apps "${array[$it]}" &
processes+=($!) processes+=($!)
((it++)) ((it++))
else elif [[ ${#processes[@]} == 0 ]]; then
for proc in "${processes[@]}"
do
wait "$proc"
done
break break
else
sleep 3
fi fi
done done
rm temp.txt rm temp.txt