mirror of https://github.com/docker/compose.git
Do not display warning if cannot forward signal to child. See https://github.com/docker/pinata/pull/14327
This commit is contained in:
parent
4286458300
commit
b060d8acfc
|
@ -72,10 +72,8 @@ func Exec() {
|
|||
if cmd.Process == nil {
|
||||
continue // can happen if receiving signal before the process is actually started
|
||||
}
|
||||
err := cmd.Process.Signal(sig)
|
||||
if err != nil {
|
||||
fmt.Printf("WARNING could not forward signal %s to %s : %s\n", sig.String(), ComDockerCli, err.Error())
|
||||
}
|
||||
// nolint errcheck
|
||||
cmd.Process.Signal(sig)
|
||||
case <-childExit:
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue