fixes #489 Fix for #480 causes disengage to stall for another event (#490)

This commit is contained in:
Garrett D'Amore 2021-09-27 07:30:29 -07:00 committed by GitHub
parent beb254a9ac
commit 8d48900cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -72,7 +72,6 @@ func (tty *devTty) Start() error {
if tty.f, err = os.OpenFile(tty.dev, os.O_RDWR, 0); err != nil {
return err
}
tty.fd = int(tty.f.Fd())
if !term.IsTerminal(tty.fd) {
return errors.New("device is not a terminal")