summaryrefslogtreecommitdiff
path: root/shadow/shadow-4.1.5-nscd.patch
blob: 34f26459e5ada2b045d5a23d7166a33efb6a19dd (plain)
    1 # http://anonscm.debian.org/viewvc/pkg-shadow?view=revision&revision=3709
    2 
    3 --- upstream/trunk/lib/nscd.c	2011/10/18 20:16:00	3519
    4 +++ upstream/trunk/lib/nscd.c	2012/02/13 20:09:59	3709
    5 @@ -39,8 +39,11 @@
    6  		/* nscd is not installed, or it is installed but uses an
    7  		   interpreter that is missing.  Probably the former. */
    8  		return 0;
    9 +	} else if (code == 1) {
   10 +		/* nscd is installed, but it isn't active. */
   11 +		return 0;
   12  	} else if (code != 0) {
   13 -		(void) fprintf (stderr, _("%s: nscd exited with status %d"),
   14 +		(void) fprintf (stderr, _("%s: nscd exited with status %d\n"),
   15  		                Prog, code);
   16  		(void) fprintf (stderr, _(MSG_NSCD_FLUSH_CACHE_FAILED), Prog);
   17  		return -1;

Generated by cgit