diff --git a/src/tty.c b/src/tty.c index d59c7c1..6cc0ab0 100644 --- a/src/tty.c +++ b/src/tty.c @@ -2401,7 +2401,7 @@ void tty_wait_for_device(void) // Happens when port unpluged if (errno == EACCES) { - goto error; + break; } #elif defined(__APPLE__) if (errno == EBADF)