mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
tty: recvtty: rm process arg
It is not used since commit 00a0ecf554.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -99,7 +99,7 @@ func (t *tty) initHostConsole() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (t *tty) recvtty(process *libcontainer.Process, socket *os.File) (Err error) {
|
||||
func (t *tty) recvtty(socket *os.File) (Err error) {
|
||||
f, err := utils.RecvFd(socket)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
+1
-1
@@ -139,7 +139,7 @@ func setupIO(process *libcontainer.Process, rootuid, rootgid int, createTTY, det
|
||||
t.postStart = append(t.postStart, parent, child)
|
||||
t.consoleC = make(chan error, 1)
|
||||
go func() {
|
||||
t.consoleC <- t.recvtty(process, parent)
|
||||
t.consoleC <- t.recvtty(parent)
|
||||
}()
|
||||
} else {
|
||||
// the caller of runc will handle receiving the console master
|
||||
|
||||
Reference in New Issue
Block a user