|
@@ -361,7 +361,7 @@ type TtyConsole struct {
|
|
console libcontainer.Console
|
|
console libcontainer.Console
|
|
}
|
|
}
|
|
|
|
|
|
-func NewTtyConsole(console libcontainer.Console, pipes *execdriver.Pipes, rootuid int) (*TtyConsole, error) {
|
|
|
|
|
|
+func NewTtyConsole(console libcontainer.Console, pipes *execdriver.Pipes) (*TtyConsole, error) {
|
|
tty := &TtyConsole{
|
|
tty := &TtyConsole{
|
|
console: console,
|
|
console: console,
|
|
}
|
|
}
|
|
@@ -417,7 +417,7 @@ func setupPipes(container *configs.Config, processConfig *execdriver.ProcessConf
|
|
if err != nil {
|
|
if err != nil {
|
|
return err
|
|
return err
|
|
}
|
|
}
|
|
- term, err = NewTtyConsole(cons, pipes, rootuid)
|
|
|
|
|
|
+ term, err = NewTtyConsole(cons, pipes)
|
|
} else {
|
|
} else {
|
|
p.Stdout = pipes.Stdout
|
|
p.Stdout = pipes.Stdout
|
|
p.Stderr = pipes.Stderr
|
|
p.Stderr = pipes.Stderr
|