diff options
Diffstat (limited to 'nscd/connections.c')
-rw-r--r-- | nscd/connections.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/connections.c b/nscd/connections.c index 9b003cb2b0..a1b92f466b 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -531,7 +531,7 @@ nscd_init (void) { inotify_fd = inotify_init (); if (inotify_fd != -1) - fcntl (inotify_fd, F_SETFL, O_NONBLOCK); + fcntl (inotify_fd, F_SETFL, O_RDONLY | O_NONBLOCK); } # endif #endif |