mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Discarding errors in CmdRun
This commit is contained in:
parent
ad2bbe23be
commit
a19a9e3ca8
1 changed files with 3 additions and 1 deletions
|
@ -930,7 +930,9 @@ func (srv *Server) CmdRun(stdin io.ReadCloser, stdout io.Writer, args ...string)
|
||||||
fmt.Fprintln(stdout, container.ShortId())
|
fmt.Fprintln(stdout, container.ShortId())
|
||||||
}
|
}
|
||||||
Debugf("Waiting for attach to return\n")
|
Debugf("Waiting for attach to return\n")
|
||||||
return <-attachErr
|
<-attachErr
|
||||||
|
// Expecting I/O pipe error, discarding
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewServer() (*Server, error) {
|
func NewServer() (*Server, error) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue