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:
Brian Goff
2014-09-26 11:31:02 -04:00
parent 3fa0ed0142
commit 9ae9d7db57
2 changed files with 38 additions and 1 deletions
-1
View File
@@ -664,7 +664,6 @@ func (cli *DockerCli) CmdStart(args ...string) error {
if encounteredError != nil {
if *openStdin || *attach {
cli.in.Close()
<-cErr
}
return encounteredError
}