This commit is contained in:
Heavybullets8 2022-07-24 23:38:14 -06:00
parent c347a7c5f8
commit 7cd8de351a

View File

@ -18,7 +18,7 @@ count=0
do
for proc in "${processes[@]}"
do
kill -0 "$proc" || unset "processes[$proc_count]"
kill -0 "$proc" || { unset "processes[$proc_count]"; break; }
(( proc_count++ ))
done
done