Fix Linux stall, close tty not pty

This commit is contained in:
Steve Streeting 2016-03-14 09:52:46 +00:00
parent a6f9120c59
commit 66ec2c8396

@ -19,7 +19,7 @@ type Tty struct {
func (t *Tty) Close() {
if t.outtty != nil {
t.outpty.Close()
t.outtty.Close()
t.outtty = nil
}
if t.errtty != nil {