mirror of
https://github.com/moby/moby.git
synced 2026-07-11 18:13:57 +00:00
Issue was caused when exec is tarted, exits, then stated again. In this case, `Close` is called twice, which closes a channel twice. Changes execConfig.ExitCode to a pointer so we can test if the it has been set or not. This allows us to return early when the exec has already been run. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
5.0 KiB
5.0 KiB