aboutsummaryrefslogtreecommitdiff
path: root/src/rc-sstat
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2022-04-15 11:53:24 -0400
committerWilliam Hubbs <w.d.hubbs@gmail.com>2022-04-30 21:32:32 -0500
commit3054046e18332ca1bf9b901f69b02f21bb91c098 (patch)
tree149982abcec8e93296c1930f244c44b7b2eb6cfe /src/rc-sstat
parentf81bb7e2c4ee8d8c070e2bd212562cc4315edf3a (diff)
multiple spelling and typo fixes
This fixes #516.
Diffstat (limited to 'src/rc-sstat')
-rw-r--r--src/rc-sstat/rc-sstat4
1 files changed, 2 insertions, 2 deletions
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