From ea839a52aebd6a29a8dde70412b0e7b8d68568b4 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 27 Jul 2013 08:58:37 +0400 Subject: Imported Upstream version 4.1.5.1 --- lib/nscd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/nscd.c') diff --git a/lib/nscd.c b/lib/nscd.c index 227c205..7adb58f 100644 --- a/lib/nscd.c +++ b/lib/nscd.c @@ -39,8 +39,11 @@ int nscd_flush_cache (const char *service) /* nscd is not installed, or it is installed but uses an interpreter that is missing. Probably the former. */ return 0; + } else if (code == 1) { + /* nscd is installed, but it isn't active. */ + return 0; } else if (code != 0) { - (void) fprintf (stderr, _("%s: nscd exited with status %d"), + (void) fprintf (stderr, _("%s: nscd exited with status %d\n"), Prog, code); (void) fprintf (stderr, _(MSG_NSCD_FLUSH_CACHE_FAILED), Prog); return -1; -- cgit v1.2.3