aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
}