summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/util_unix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/util_unix.go b/src/util/util_unix.go
index 5a67066b..404157cc 100644
--- a/src/util/util_unix.go
+++ b/src/util/util_unix.go
@@ -70,7 +70,7 @@ func (x *Executor) Become(stdin *os.File, environ []string, command string) {
// KillCommand kills the process for the given command
func KillCommand(cmd *exec.Cmd) error {
- return syscall.Kill(-cmd.Process.Pid, syscall.SIGKILL)
+ return syscall.Kill(-cmd.Process.Pid, syscall.SIGTERM)
}
// IsWindows returns true on Windows