diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-07-27 08:58:37 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-07-27 08:58:37 +0400 |
commit | ea839a52aebd6a29a8dde70412b0e7b8d68568b4 (patch) | |
tree | 10026e84c8b73d4e5ad6704ab1cb78ea7c63c305 /lib/nscd.c | |
parent | 6c1662a897fd34b5b0b0174ab83552b016d05e8d (diff) | |
download | shadow-upstream.tar.gz |
Imported Upstream version 4.1.5.1upstream/4.1.5.1upstream
Diffstat (limited to 'lib/nscd.c')
-rw-r--r-- | lib/nscd.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |