This commit is contained in:
Heavybullets8 2022-07-25 23:44:55 -06:00
parent 5889438cbd
commit 2d0388d9b5

View File

@ -15,7 +15,7 @@ do
count=0
for proc in "${processes[@]}"
do
kill -0 "$proc" &> /dev/null || { ((proc_count--)) ; unset "processes[$count]" ;}
kill -0 "$proc" &> /dev/null || { unset "processes[$count]"; ((proc_count--)); }
done
#jobs=$(jobs -p | wc -l)
if [[ "$proc_count" -ge "$update_limit" ]]; then