mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 05:31:47 +00:00
Merge pull request #7502 from LK4D4/catch_error_console
Catch error on console creation
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user