bin/153527: wake(8) should use sysexits.h

douglas steinwand dzs-pr at dzs.fx.org
Thu Dec 30 17:30:15 UTC 2010


The following reply was made to PR bin/153527; it has been noted by GNATS.

From: douglas steinwand <dzs-pr at dzs.fx.org>
To: freebsd-gnats-submit at freebsd.org
Cc:  
Subject: Re: bin/153527: wake(8) should use sysexits.h
Date: Thu, 30 Dec 2010 09:12:16 -0800

 On Thu, Dec 30, 2010 at 07:35, Bruce Cran <bruce at cran.org.uk> wrote:
 > wake(8) should not use sysexits.h since style(9) no longer recommends
 > it - it should instead exit with 1 or 0.
 
 The sysexits(3) manpage in FreeBSD 8.1 still seems relevant.
 
 
 > This seems to have been fixed in HEAD but not in 8-STABLE.
 
 HEAD looks better, but a missing hostname [from get_ether()] exits 0
 with a message on STDERR. Other utilities [like ping(8)] return a
 non-zero result in that case.
 
 thanks,
  - doug


More information about the freebsd-bugs mailing list