On Thu, Jan 10, 2008 at 08:38:17PM +0100, martin f krafft wrote: > Package: dhcp3-client > Version: 3.0.6.dfsg-1 > Severity: minor > > piper:~> /sbin/dhclient3 --help 2>/dev/null || echo $? > 1 > > That's wrong. The help call was successful, so it should return 0.
That's debateable. Nowhere is it said that --help is a valid option. Looking at the way the usage message is coded: static void usage () { log_info ("%s %s", message, DHCP_VERSION); log_info (copyright); log_info (arr); log_info (url); log_error ("Usage: dhclient [-1dqrx] [-nw] [-p <port>] %s", "[-s server]"); log_error (" [-cf config-file] [-lf lease-file]%s", "[-pf pid-file] [-e VAR=val]"); log_fatal (" [-sf script-file] [interface]"); } This explains why you're seeing stuff on stdout, and why you're getting a non-zero return code. This is obviously an upstream issue, and I think it's matter of person style. I'll forward it upstream, but I wouldn't be surprised if they're not interested in fixing it. regards Andrew
signature.asc
Description: Digital signature