diff --git a/src/kiss.c b/src/kiss.c index f39ae94..32adeef 100644 --- a/src/kiss.c +++ b/src/kiss.c @@ -200,7 +200,7 @@ patty_kiss_tnc *patty_kiss_tnc_new(const char *device) { goto error_connect; } } else { - if ((fd = open(device, O_RDWR)) < 0) { + if ((fd = open(device, O_RDWR | O_NOCTTY)) < 0) { goto error_open; } }