From fc5a728a9eacd5c39f91a6bcc3d377b55bcd89ec Mon Sep 17 00:00:00 2001 From: Antonin Bas Date: Fri, 30 Oct 2020 14:02:33 -0700 Subject: [PATCH] Fix antctl proxy e2e test for non-Bash shells --- test/e2e/antctl_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/antctl_test.go b/test/e2e/antctl_test.go index ac7164507d0..2f3f9cf07dd 100644 --- a/test/e2e/antctl_test.go +++ b/test/e2e/antctl_test.go @@ -205,7 +205,7 @@ func runAntctProxy(nodeName string, nodeAntctlPath string, proxyPort int, agentN } pid := strings.TrimSpace(stdout) return func() error { - cmd := fmt.Sprintf("kill -SIGINT %s", pid) + cmd := fmt.Sprintf("kill -INT %s", pid) rc, stdout, stderr, err := RunCommandOnNode(nodeName, cmd) if err != nil { return fmt.Errorf("error when running command '%s' on Node: %v", cmd, err)