aboutsummaryrefslogtreecommitdiff
path: root/src/rc-sstat
diff options
context:
space:
mode:
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