aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2023-05-11 05:39:32 +0000
committerEnji Cooper <ngie@FreeBSD.org>2023-05-11 05:39:32 +0000
commit4e9041a78690b2c7ea35ab1c548412f2ac69da4d (patch)
treec28d7996f4009ce7c26e833f0c71e6b384647d3a /libexec
parent0661f93892a2564a64c5650ffffa3d73417172a9 (diff)
downloadsrc-4e9041a78690b2c7ea35ab1c548412f2ac69da4d.tar.gz
src-4e9041a78690b2c7ea35ab1c548412f2ac69da4d.zip
rc.subr(8): run `trailing-whitespace-fixer`
This change deletes benign trailing whitespace from rc.subr, making future non-stylistic changes easier to spot. MFC after: 1 week
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rc/rc.subr10
1 files changed, 5 insertions, 5 deletions
diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr
index 9b5b3d8b37e7..b2a7f45ccd4d 100644
--- a/libexec/rc/rc.subr
+++ b/libexec/rc/rc.subr
@@ -69,7 +69,7 @@ rc_service="$0"
# list_vars pattern
# List variables matching glob pattern.
-#
+#
list_vars()
{
# Localize 'set' option below.
@@ -444,7 +444,7 @@ sort_lite()
local curitem curitem_orig curitem_mod curitem_haskey
local dest dest_orig dest_mod dest_haskey
local d gt n
- local i=1
+ local i=1
while [ $i -le $nitems ]; do
curitem_haskey=1 # Assume sort field (-k POS) exists
eval curitem=\"\$src_$i\"
@@ -1093,19 +1093,19 @@ run_rc_command()
echo "$desc"
fi
;;
-
+
extracommands)
echo "$extra_commands"
;;
enable)
_out=$(/usr/sbin/sysrc -vs "$name" "$rcvar=YES") &&
- echo "$name enabled in ${_out%%:*}"
+ echo "$name enabled in ${_out%%:*}"
;;
disable)
_out=$(/usr/sbin/sysrc -vs "$name" "$rcvar=NO") &&
- echo "$name disabled in ${_out%%:*}"
+ echo "$name disabled in ${_out%%:*}"
;;
delete)