From 440422a96346072a0a9016c4db78ff7599a702aa Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf Date: Tue, 12 Nov 2013 09:06:54 -0600 Subject: [PATCH] don't forward SIGCHLD to container It makes no sense to forward SIGCHLD to the container. --- commands.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/commands.go b/commands.go index 710a311c08..d463a50a3d 100644 --- a/commands.go +++ b/commands.go @@ -549,6 +549,9 @@ func (cli *DockerCli) forwardAllSignals(cid string) chan os.Signal { utils.CatchAll(sigc) go func() { for s := range sigc { + if s == syscall.SIGCHLD { + continue + } if _, _, err := cli.call("POST", fmt.Sprintf("/containers/%s/kill?signal=%d", cid, s), nil); err != nil { utils.Debugf("Error sending signal: %s", err) }