aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2016-01-22 11:54:16 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2016-01-22 12:07:13 -0600
commite277ae57efaba3be3eb619fd00084b116c370231 (patch)
treee4e1a3ed9f8b4558d0dc9b43a342885c67bd1ffd /scripts
parent69f052b611878d771fc3f56ee77639269db9b6e1 (diff)
fix tests
X-Gentoo-Bug: 572602 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572602
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rc-sstat.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/rc-sstat.in b/scripts/rc-sstat.in
index 44dc9e05..a204dbda 100644
--- a/scripts/rc-sstat.in
+++ b/scripts/rc-sstat.in
@@ -52,8 +52,8 @@ if [ ! -d $scandir ]; then
exit 1
fi
-# Make sure s6-svscan is running
-if ! pgrep s6-svscan >/dev/null ; then
+# Make sure s6-svscan is running
+if ! pgrep s6-svscan >/dev/null ; then
printf "s6-svscan is not running\n"
exit 1
fi
@@ -141,7 +141,7 @@ do
fi
done
-# Cleanup
+# Cleanup
rm -f $statfile 2>/dev/null
printf "\n\n"