Merge pull request #8224 from cpuguy83/7843_fix_start_attach_error_hang

Fix #7843 start -a can cause frozen term
This commit is contained in:
Tibor Vass
2014-09-26 11:54:39 -04:00
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
}