summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-11-06 12:18:53 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-11-06 15:43:21 +0100
commit7b929ebc73b75f080066bef555e95b5a81c5a2ab (patch)
treeafab323cfe241ec1e6d8fef592cbc40704fa3f3f
parent22ce6ab7f2e7fbf8811d3261c1a72dfd14c70d27 (diff)
Remove dependency of killall
killall utility is part of psmisc package that is not installed by default. So use pkill utility instead. Change-Id: Ib1e46b603560ea8ee6041a52b3c482114ec340ac Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r--test/main_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/main_test.go b/test/main_test.go
index ced75a6..273df09 100644
--- a/test/main_test.go
+++ b/test/main_test.go
@@ -85,7 +85,7 @@ func Copy(src, dst string) error {
func initEnv(launchProcess bool) {
if launchProcess {
/*kill xds-server if needed*/
- cmd := exec.Command("killall", "-9", "xds-server")
+ cmd := exec.Command("pkill", "-9", "xds-server")
if err := cmd.Start(); err != nil {
log.Fatal(err)
}