1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #7502 from LK4D4/catch_error_console

Catch error on console creation
This commit is contained in:
Tibor Vass 2014-08-11 12:13:53 -04:00
commit e033425f0b

View file

@ -106,6 +106,9 @@ func (d *driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, startCallba
} else {
term, err = execdriver.NewStdConsole(c, pipes)
}
if err != nil {
return -1, err
}
c.Terminal = term
d.Lock()