remove for loop
This commit is contained in:
parent
cf2f5000ee
commit
2f180d1a4b
@ -32,9 +32,10 @@ do
|
|||||||
elif [[ $proc_count != 0 ]]; then # Wait for all processes to finish
|
elif [[ $proc_count != 0 ]]; then # Wait for all processes to finish
|
||||||
sleep 3
|
sleep 3
|
||||||
else # All processes must be completed, break out of loop
|
else # All processes must be completed, break out of loop
|
||||||
for proc in "${processes[@]}"; do
|
# Unessesary for loop. since processes have to be completed before getting to this point, it is unlikely we would ever have to wait on processes.. Will test more.
|
||||||
wait "$proc"
|
# for proc in "${processes[@]}"; do
|
||||||
done
|
# wait "$proc"
|
||||||
|
# done
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user