diff options
Diffstat (limited to 'winsup/cygwin/termios.cc')
-rw-r--r-- | winsup/cygwin/termios.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/termios.cc b/winsup/cygwin/termios.cc index 13b5e5251..ac1c89bf0 100644 --- a/winsup/cygwin/termios.cc +++ b/winsup/cygwin/termios.cc @@ -144,8 +144,7 @@ tcsetattr (int fd, int a, const struct termios *t) case bg_ok: if (cfd.isopen ()) res = cfd->tcsetattr (a, t); - else - e = get_errno (); + e = get_errno (); break; case bg_signalled: if (thisframe.call_signal_handler ()) |