aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serial.c b/src/serial.c
index 4403226..1cbd3c0 100644
--- a/src/serial.c
+++ b/src/serial.c
@@ -113,8 +113,8 @@ osmo_serial_init(const char *dev, speed_t baudrate)
rc = ioctl(fd, TIOCMBIS, &v24);
if (rc < 0) {
dbg_perror("ioctl(TIOCMBIS)");
- rc = -errno;
- goto error;
+ /* some serial porst don't support this, so let's not
+ * return an error here */
}
return fd;