This commit is contained in:
Heavybullets8 2022-07-27 14:50:52 -06:00
parent 3da75f299d
commit ef43d3c214

View File

@ -28,10 +28,10 @@ do
update_apps "${array[$it]}" &
processes+=($!)
((it++))
elif [[ ${#processes[@]} == 0 ]]; then
break
else
elif [[ ${#processes[@]} != 0 ]]; then # Wait for all processes to finish
sleep 3
else
break
fi
done
rm temp.txt