Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 88992de) Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
- Loading branch information