mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-07 22:42:09 +00:00
Fix #7843
When doing `docker start -a` on a container that won't start, terminal was getting stuck on the attach, even after container removal. Docker-DCO-1.1-Signed-off-by: Brian Goff <cpuguy83@gmail.com> (github: cpuguy83)
This commit is contained in:
@@ -664,7 +664,6 @@ func (cli *DockerCli) CmdStart(args ...string) error {
|
||||
if encounteredError != nil {
|
||||
if *openStdin || *attach {
|
||||
cli.in.Close()
|
||||
<-cErr
|
||||
}
|
||||
return encounteredError
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user