summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util_nscd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_nscd.c b/source3/lib/util_nscd.c
index f019bdd70b..4feab3b8ac 100644
--- a/source3/lib/util_nscd.c
+++ b/source3/lib/util_nscd.c
@@ -22,7 +22,7 @@
static void smb_nscd_flush_cache(const char *service)
{
#ifdef HAVE_NSCD_FLUSH_CACHE
- if (!nscd_flush_cache(service)) {
+ if (nscd_flush_cache(service)) {
DEBUG(10,("failed to flush nscd cache for '%s' service: %s. "
"Is nscd running?\n",
service, strerror(errno)));