From 3054046e18332ca1bf9b901f69b02f21bb91c098 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Fri, 15 Apr 2022 11:53:24 -0400 Subject: multiple spelling and typo fixes This fixes #516. --- src/rc-sstat/rc-sstat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rc-sstat') diff --git a/src/rc-sstat/rc-sstat b/src/rc-sstat/rc-sstat index 4811293d..4f91e531 100644 --- a/src/rc-sstat/rc-sstat +++ b/src/rc-sstat/rc-sstat @@ -64,7 +64,7 @@ if [ -z $TERM -o $TERM = "dumb" ]; then fi # Gather list of candidate services s6-supervise may be supervising -# filter for folders and symlinks at /run/openrc/s6-scan/* ommiting output starting with '.' +# filter for folders and symlinks at /run/openrc/s6-scan/* omitting output starting with '.' services="$(find $scandir -maxdepth 1 -mindepth 1 \( -type d -or -type l \) | awk -F'/' '{ if ( $NF !~ "^\\." ) print $NF}')" if [ -z "$services" ]; then printf "s6 found no services configured for supervision\n" @@ -72,7 +72,7 @@ if [ -z "$services" ]; then fi # Gather status for each service from s6-svstat -# write to tmp file in memory for non I/O bound repeatative access +# write to tmp file in memory for non I/O bound repetitive access rm -f $statfile 2>/dev/null for service in $services ; do echo "$service $(s6-svstat ${scandir}/${service})" >> $statfile -- cgit v1.2.3