From 21fd49a9ef9c21cd2c87d0facf9f53bedb5cea20 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 7 Oct 2011 01:20:53 -0400 Subject: Don't unnecesarily use inotify in nscd --- nscd/connections.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nscd/connections.c') diff --git a/nscd/connections.c b/nscd/connections.c index 6e48869..7d3ff2e 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -891,7 +891,7 @@ cannot set socket to close on exec: %s; disabling paranoia mode"), void register_traced_file (size_t dbidx, struct traced_file *finfo) { - if (! dbs[dbidx].check_file) + if (! dbs[dbidx].enabled || ! dbs[dbidx].check_file) return; if (__builtin_expect (debug_level > 0, 0)) -- cgit v1.1