diff --git a/winsup/cygwin/fhandler_termios.cc b/winsup/cygwin/fhandler_termios.cc index ee0c87d93..721b2e861 100644 --- a/winsup/cygwin/fhandler_termios.cc +++ b/winsup/cygwin/fhandler_termios.cc @@ -329,7 +329,7 @@ fhandler_termios::line_edit (const char *rptr, int nread, termios& ti) if (!iscanon || input_done) { int status = accept_input (); - if (status != 1) + if (status != 1) { ret = status ? line_edit_error : line_edit_pipe_full; eat_readahead (1);