Package: dhcdbd
Version: 3.0-2
Tags: patch

Hi,
dhcdbd lists -n and -N as the options to not daemonize. It passes n and
N to getopt but the later switch statement does not contain capital N
but only n:


--- main.c      2008-03-16 12:11:05.000000000 +0100
+++ main.c      2008-03-16 12:11:45.000000000 +0100
@@ -82,6 +82,7 @@ int main(int argc, char **argv, char **e
                     if (dhcdbd_daemonize == -1)
                         dhcdbd_daemonize=1;
                     break;
+                case 'N':
                 case 'n':
                     dhcdbd_daemonize=0;
                     break;

This would be needed to make dhcdbd work as mentioned in the usage.

[EMAIL PROTECTED]:/tmp/dhcdbd-3.0/src$ sudo dhcdbd --system -N
Unhandled getopt_long return value: 78

Flo
-- 
Florian Lohoff                  [EMAIL PROTECTED]             +49-171-2280134
        Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to