Skip to content

Commit

Permalink
Use more widely available pkill over killall
Browse files Browse the repository at this point in the history
  • Loading branch information
Neverlord committed Dec 5, 2018
1 parent 7c94ca5 commit 5d74f15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brocon18/evaluation/throughput/benchmark
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 5d74f15

Please sign in to comment.