DockerCLI/cli/connhelper/connhelper_linux.go

13 lines
165 B
Go

package connhelper
import (
"os/exec"
"syscall"
)
func setPdeathsig(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{
Pdeathsig: syscall.SIGKILL,
}
}