Close the tty device when finishing.

This commit is contained in:
Garrett D'Amore 2021-06-10 06:55:56 -07:00
parent 15d485cfb5
commit 65821462b5
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func (tty *devTty) Write(b []byte) (int, error) {
} }
func (tty *devTty) Close() error { func (tty *devTty) Close() error {
return nil return tty.f.Close()
} }
func (tty *devTty) Start() error { func (tty *devTty) Start() error {