Diff between fba78dbad8dd062de443102a707fcf0047432196 and 87dfb1ac8e576ddee00e851b84234f3446acba07

Changed Files

File Additions Deletions Status
obexd/src/main.c +1 -1 modified

Full Patch

diff --git a/obexd/src/main.c b/obexd/src/main.c
index f0b6b51..18bc496 100644
--- a/obexd/src/main.c
+++ b/obexd/src/main.c
@@ -77,7 +77,7 @@ int tty_init(int services, const gchar *root_path,
 
 	tty_needs_reinit = TRUE;
 
-	fd = open(devnode, O_RDWR);
+	fd = open(devnode, O_RDWR | O_NOCTTY);
 	if (fd < 0)
 		return fd;