Merge pull request #25482 from yuexiao-wang/close_pipe

Close pipe after using pipe
This commit is contained in:
Tõnis Tiigi 2016-08-15 13:02:59 -07:00 committed by GitHub
commit 90be7a591d
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ func (s *DockerSuite) TestAttachMultipleAndRestart(c *check.C) {
if err != nil {
c.Fatal(err)
}
defer out.Close()
if err := cmd.Start(); err != nil {
c.Fatal(err)