c6bf3071fe
Use `exec.Command` created by this function instead of obtaining it from
daemon struct. This prevents a race condition where `daemon.Kill` is
called before the goroutine has the chance to call `cmd.Wait`.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
config.go | ||
container.go | ||
daemon.go | ||
daemon_freebsd.go | ||
daemon_linux.go | ||
daemon_unix.go | ||
daemon_windows.go | ||
doc.go | ||
node.go | ||
ops.go | ||
plugin.go | ||
secret.go | ||
service.go | ||
swarm.go |