diff options
-rw-r--r-- | nscd/cache.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nscd/cache.c b/nscd/cache.c index d034bcb051..52ef0383f7 100644 --- a/nscd/cache.c +++ b/nscd/cache.c @@ -150,8 +150,11 @@ prune_cache (struct database *table, time_t now) else { if (st.st_mtime != table->file_mtime) - /* The file changed. Invalidate all entries. */ - now = LONG_MAX; + { + /* The file changed. Invalidate all entries. */ + now = LONG_MAX; + st.st_mtime = table->file_mtime; + } } } |