mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-29 14:29:35 +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,
|
|
}
|
|
}
|