diff --git a/server/serial.c b/server/serial.c index 4979d390a0f..614be004f2b 100644 --- a/server/serial.c +++ b/server/serial.c @@ -97,6 +97,8 @@ static struct serial *create_serial( const char *nameptr, size_t len, unsigned i default: break; } + flags |= O_NONBLOCK; + fd = open( name, flags ); free( name ); if (fd < 0)