Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2010 15:40:08 GMT
From:      Bruce Cran <bruce@cran.org.uk>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/153527: wake(8) should use sysexits.h
Message-ID:  <201012301540.oBUFe8WX047294@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: Bruce Cran <bruce@cran.org.uk>
To: douglas steinwand <dzs-pr@dzs.fx.org>
Cc: freebsd-gnats-submit@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012301540.oBUFe8WX047294>