forked from toolshed/abra
.gitea
cli
cmd
pkg
app
autocomplete
client
compose
config
container
context
dns
formatter
git
integration
limit
lint
recipe
secret
server
service
ssh
upstream
commandconn
commandconn.go
connection.go
pdeathsig_linux.go
pdeathsig_nolinux.go
container
convert
service
stack
web
scripts
tests
.drone.yml
.e2e.env.sample
.envrc.sample
.gitignore
.goreleaser.yml
AUTHORS.md
Makefile
README.md
go.mod
go.sum
renovate.json
This might cause the macosx build not to fail, I hope. See https://github.com/docker/cli/tree/v20.10.10/cli/connhelper/commandconn
11 lines
137 B
Go
11 lines
137 B
Go
package commandconn
|
|
|
|
import (
|
|
"os/exec"
|
|
"syscall"
|
|
)
|
|
|
|
func setPdeathsig(cmd *exec.Cmd) {
|
|
cmd.SysProcAttr.Pdeathsig = syscall.SIGKILL
|
|
}
|