mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
16 lines
213 B
Go
16 lines
213 B
Go
// +build !windows
|
|
|
|
package containerd
|
|
|
|
import (
|
|
"os/exec"
|
|
"syscall"
|
|
)
|
|
|
|
func addDeathSig(cmd *exec.Cmd) {
|
|
// not supported in this OS
|
|
cmd.SysProcAttr = &syscall.SysProcAttr{
|
|
Pdeathsig: syscall.SIGKILL,
|
|
}
|
|
}
|