Sigterm instead of Sigkill (#1687)

Co-authored-by: Dominic Wong <domwongemail@googlemail.com>
Co-authored-by: Asim Aslam <asim@aslam.me>
This commit is contained in:
Janos Dobronszki 2020-06-06 15:04:14 +02:00 committed by Dominic Wong
parent 92e9d05432
commit d613804b0a

View File

@ -68,8 +68,7 @@ func (p *Process) Kill(pid *process.PID) error {
// now kill it
// using -ve PID kills the process group which we created in Fork()
return syscall.Kill(-id, syscall.SIGKILL)
return syscall.Kill(-id, syscall.SIGTERM)
}
func (p *Process) Wait(pid *process.PID) error {