From e2d9a68eef9f4d468a2983ab500ea2ab25f00e86 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Tue, 17 Nov 2020 14:45:39 -0800 Subject: Add support for TTY in multi-container Fixes #2714 PiperOrigin-RevId: 342950412 --- runsc/console/console.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runsc/console') diff --git a/runsc/console/console.go b/runsc/console/console.go index dbb88e117..b36028792 100644 --- a/runsc/console/console.go +++ b/runsc/console/console.go @@ -24,8 +24,8 @@ import ( "golang.org/x/sys/unix" ) -// NewWithSocket creates pty master/replica pair, sends the master FD over the given -// socket, and returns the replica. +// NewWithSocket creates pty master/replica pair, sends the master FD over the +// given socket, and returns the replica. func NewWithSocket(socketPath string) (*os.File, error) { // Create a new pty master and replica. ptyMaster, ptyReplica, err := pty.Open() -- cgit v1.2.3