Prefer to killall descendants instead of just killing yes processes

This commit is contained in:
Jean-Baptiste Bellet
2022-10-31 16:11:19 +01:00
parent b93f6dfdad
commit 3ff1cd0793

View File

@@ -9,7 +9,7 @@
function finish() {
echo "Exiting..."
killall yes
pkill -P $$
if [ "$pass_rate" -lt 100 ]; then
echo "Check tmp/rspec.log for details."
exit 1