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 11be7c3d0c..b95ab05b3a 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -772,7 +772,7 @@ nscd_run (void *p) time_t next_prune = run_prune ? time (NULL) + CACHE_PRUNE_INTERVAL : 0; static unsigned long int nready; - if (my_number < lastdb) + if (run_prune) setup_thread (&dbs[my_number]); conn.fd = sock; |