From 5d74f1590b81ad68d66c922a9403ee29c2f3df65 Mon Sep 17 00:00:00 2001 From: Dominik Charousset Date: Wed, 5 Dec 2018 16:44:56 +0100 Subject: [PATCH] Use more widely available pkill over killall --- brocon18/evaluation/throughput/benchmark | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brocon18/evaluation/throughput/benchmark b/brocon18/evaluation/throughput/benchmark index 6f01ba0..f92ac2d 100755 --- a/brocon18/evaluation/throughput/benchmark +++ b/brocon18/evaluation/throughput/benchmark @@ -1,8 +1,8 @@ #!/usr/bin/env bash function cleanup { - $(killall broker-node 2> /dev/null) - $(killall broker-pipe 2> /dev/null) + $(pkill -15 broker-node 2> /dev/null) + $(pkill -15 broker-pipe 2> /dev/null) } trap cleanup INT TERM EXIT