We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 578fe65 + ec0d23a commit 00dc700Copy full SHA for 00dc700
tty.go
@@ -97,9 +97,11 @@ func (t *tty) recvtty(process *libcontainer.Process, socket *os.File) error {
97
// set raw mode to stdin and also handle interrupt
98
stdin, err := console.ConsoleFromFile(os.Stdin)
99
if err != nil {
100
+ epollConsole.Close()
101
return err
102
}
103
if err := stdin.SetRaw(); err != nil {
104
105
return fmt.Errorf("failed to set the terminal from the stdin: %v", err)
106
107
go handleInterrupt(stdin)
0 commit comments