Skip to content

src: don't abort on EIO when restoring tty

Rodrigo Muino Tomonari requested to merge github/fork/bnoordhuis/fix28479 into master

EIO has been observed to be returned by the Linux kernel under some circumstances. Reading through drivers/tty/tty_io*.c, it seems to indicate the tty went away. Of course none of this is documented.

Fixes: https://github.com/nodejs/node/issues/28479

Merge request reports

Loading