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

Bruce Cran bruce at cran.org.uk
Thu Dec 30 15:40:08 UTC 2010


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

From: Bruce Cran <bruce at cran.org.uk>
To: douglas steinwand <dzs-pr at dzs.fx.org>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: bin/153527: wake(8) should use sysexits.h
Date: Thu, 30 Dec 2010 15:35:11 +0000

 On Wed, 29 Dec 2010 19:20:12 GMT
 douglas steinwand <dzs-pr at dzs.fx.org> wrote:
 
 > >Synopsis:       wake(8) should use sysexits.h
 
 wake(8) should not use sysexits.h since style(9) no longer recommends
 it - it should instead exit with 1 or 0.
 
 >   $ wake foo bar; echo "exit=$?"
 >   wake: no bpf: Permission denied
 >   wake: error sending Wake on LAN frame over foo to bar
 > 
 >   exit=0
 
 This seems to have been fixed in HEAD but not in 8-STABLE.
 
 -- 
 Bruce Cran


More information about the freebsd-bugs mailing list