diff --git a/src/common/io/io_unix.c b/src/common/io/io_unix.c index edd740ba5..62c25dc59 100644 --- a/src/common/io/io_unix.c +++ b/src/common/io/io_unix.c @@ -144,7 +144,7 @@ const char* ffGetTerminalResponse(const char* request, const char* format, ...) { if (ftty < 0) { - ftty = open("/dev/tty", O_RDWR | O_NOCTTY | O_CLOEXEC | O_NONBLOCK); + ftty = open("/dev/tty", O_RDWR | O_NOCTTY | O_CLOEXEC); if (ftty < 0) return "open(\"/dev/tty\", O_RDWR | O_NOCTTY | O_CLOEXEC) failed";