summaryrefslogtreecommitdiff
path: root/status.sh
diff options
context:
space:
mode:
Diffstat (limited to 'status.sh')
-rwxr-xr-xstatus.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/status.sh b/status.sh
index 8eae367..c98d7c6 100755
--- a/status.sh
+++ b/status.sh
@@ -2,6 +2,8 @@
shopt -s nullglob
for svc in ~/s6/service/*; do
- echo -n "$(basename $svc): "
- s6-svstat $svc
+ if [ -d $svc ]; then
+ echo -n "$(basename $svc): "
+ s6-svstat $svc
+ fi
done