test
This commit is contained in:
parent
fd21a80db0
commit
cf2f5000ee
@ -32,7 +32,9 @@ 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
|
||||||
wait "${processes[*]}"
|
for proc in "${processes[@]}"; do
|
||||||
|
wait "$proc"
|
||||||
|
done
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user