18 lines
693 B
Diff
18 lines
693 B
Diff
# http://anonscm.debian.org/viewvc/pkg-shadow?view=revision&revision=3709
|
|
|
|
--- upstream/trunk/lib/nscd.c 2011/10/18 20:16:00 3519
|
|
+++ upstream/trunk/lib/nscd.c 2012/02/13 20:09:59 3709
|
|
@@ -39,8 +39,11 @@
|
|
/* 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;
|