From bc06dd1501f9b00ee8a2cff35c5bc4304be074cc Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sun, 5 May 2024 08:16:45 +0000 Subject: [PATCH] Document "ls rogue" exit status. --- usr.sbin/rcctl/rcctl.8 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/rcctl/rcctl.8 b/usr.sbin/rcctl/rcctl.8 index 10acf76cb92..63e191a4ae6 100644 --- a/usr.sbin/rcctl/rcctl.8 +++ b/usr.sbin/rcctl/rcctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rcctl.8,v 1.44 2023/03/01 17:27:45 ajacoutot Exp $ +.\" $OpenBSD: rcctl.8,v 1.45 2024/05/05 08:16:45 ajacoutot Exp $ .\" .\" Copyright (c) 2014 Antoine Jacoutot .\" @@ -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: March 1 2023 $ +.Dd $Mdocdate: May 5 2024 $ .Dt RCCTL 8 .Os .Sh NAME @@ -187,8 +187,8 @@ exits with 0 if the daemon or service is enabled and 1 if it is not. .Nm Cm getdef Ar daemon | service Op Cm status exits with 0 if the daemon or service is enabled by default and 1 if it is not. -.Nm Cm ls failed -exits with 1 if an enabled daemon is not running. +.Nm Cm ls failed | rogue +exits with 1 if an enabled daemon is not running or vice versa. Otherwise, the .Nm utility exits with 0 on success, and >0 if an error occurs -- 2.20.1