Date: Thu, 30 Dec 2010 17:30:14 GMT From: douglas steinwand <dzs-pr@dzs.fx.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/153527: wake(8) should use sysexits.h Message-ID: <201012301730.oBUHUE8k067033@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/153527; it has been noted by GNATS. From: douglas steinwand <dzs-pr@dzs.fx.org> To: freebsd-gnats-submit@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012301730.oBUHUE8k067033>