diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-11-06 12:18:53 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-11-06 15:43:21 +0100 |
commit | 7b929ebc73b75f080066bef555e95b5a81c5a2ab (patch) | |
tree | afab323cfe241ec1e6d8fef592cbc40704fa3f3f /test/main_test.go | |
parent | 22ce6ab7f2e7fbf8811d3261c1a72dfd14c70d27 (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>
Diffstat (limited to 'test/main_test.go')
-rw-r--r-- | test/main_test.go | 2 |
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) } |