]> git.donarmstrong.com Git - unscd.git/blob - debian/patches/no_debug_on_invalidate
Do not always print debugging info upon invalidate. (Closes: #844447)
[unscd.git] / debian / patches / no_debug_on_invalidate
1 --- a/nscd.c
2 +++ b/nscd.c
3 @@ -2518,6 +2518,9 @@
4                         conffile = optarg;
5                         break;
6                 case 'i':
7 +                       debug &= ~D_DAEMON;
8 +            if (opt_d_cnt != 0)
9 +                debug |= (((1U << opt_d_cnt+1) >> 1) - 1) & L_ALL;
10                         /* invalidate */
11                         special_op(optarg); /* exits */
12                 case 'K':