diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2014-08-31 06:52:47 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2014-08-31 06:52:47 +0000 |
commit | 3f4bdaa611c4edd777dfb15619738c9de109eead (patch) | |
tree | ff456313c922b250676d37320562cfea26ea2ca7 /usr.sbin/rcctl/rcctl.8 | |
parent | 6fe178c98e45947b2e2d122379a24c3876b185e9 (diff) |
Document that exit code 2 indicates a non-existent service.
Diffstat (limited to 'usr.sbin/rcctl/rcctl.8')
-rw-r--r-- | usr.sbin/rcctl/rcctl.8 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/rcctl/rcctl.8 b/usr.sbin/rcctl/rcctl.8 index 61b033f4f21..cc403b0c29e 100644 --- a/usr.sbin/rcctl/rcctl.8 +++ b/usr.sbin/rcctl/rcctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rcctl.8,v 1.7 2014/08/29 17:17:22 ajacoutot Exp $ +.\" $OpenBSD: rcctl.8,v 1.8 2014/08/31 06:52:46 ajacoutot Exp $ .\" .\" Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: August 29 2014 $ +.Dd $Mdocdate: August 31 2014 $ .Dt RCCTL 8 .Os .Sh NAME @@ -93,7 +93,10 @@ script. exits with 0 if the daemon or service is enabled and 1 if it is not. Otherwise, the .Nm -utility exits 0 on success, and >0 if an error occurs. +utility exits 0 on success, and >0 if an error occurs +.Po 2 indicates a non-existent +.Ar service +.Pc . .Sh EXAMPLES Disable .Xr ntpd 8 |