bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cfservd -F -d fails to work


From: Andrew Stribblehill
Subject: Re: cfservd -F -d fails to work
Date: Wed, 23 Oct 2002 10:25:05 +0100
User-agent: Mutt/1.4i

Quoting David E. Nelson <address@hidden> (2002-10-22 10:19:17 BST):
> # cfservd -F -d
> cfservd: option requires an argument -- d
> 
> Swapping the arguments works as expected.

I think you may have uncovered a bug, but not the one you think you
have :)

The -d option does indeed require an argument, namely:
  1=parsing, 2=running
but if it gets an argument it doesn't understand (namely "-F"), it
just sets DEBUG, which appears to effectively turn on -d1 and -d2.
Another side-effect of setting the -d flag is that NO_FORK is
defined, effectively doing the -F for you.

I'm not familiar enough with getopt to provide a patch to this one.

-- 
NORTHWEST FITZROY WEST SOLE
NORTHWEST BECOMING CYCLONIC 4 OR 5, OCCASIONALLY 6. RAIN. GOOD
BECOMING MODERATE




reply via email to

[Prev in Thread] Current Thread [Next in Thread]