From 3348f56ded3d00f9b844da0d49ddf4fca1231fef Mon Sep 17 00:00:00 2001 From: kn Date: Mon, 24 Apr 2023 14:31:15 +0000 Subject: [PATCH] "ls rogue" needs root; OK aja --- usr.sbin/rcctl/rcctl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/rcctl/rcctl.sh b/usr.sbin/rcctl/rcctl.sh index ffebb1e53b5..fb87943ba00 100644 --- a/usr.sbin/rcctl/rcctl.sh +++ b/usr.sbin/rcctl/rcctl.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: rcctl.sh,v 1.115 2022/12/22 19:53:24 kn Exp $ +# $OpenBSD: rcctl.sh,v 1.116 2023/04/24 14:31:15 kn Exp $ # # Copyright (c) 2014, 2015-2022 Antoine Jacoutot # Copyright (c) 2014 Ingo Schwarze @@ -617,7 +617,7 @@ case ${action} in ;; ls) # some rc.d(8) scripts need root for rc_check() - [[ ${lsarg} == @(started|stopped|failed) ]] && needs_root ${action} ${lsarg} + [[ ${lsarg} == @(started|stopped|failed|rogue) ]] && needs_root ${action} ${lsarg} svc_ls ${lsarg} ;; order) -- 2.20.1