From b713da6222463f476fc3722c6b316aa28fb5c0bd Mon Sep 17 00:00:00 2001
From: Cem Keylan <cem@ckyln.com>
Date: Wed, 25 Mar 2020 16:27:52 +0300
Subject: don't print errors if runit is not installed or not used.

---
 rc.shutdown | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rc.shutdown b/rc.shutdown
index 848f114..0b977f2 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -6,8 +6,8 @@
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 
 out "Waiting for services to stop..."; {
-    sv -w196 force-stop /var/service/*
-    sv exit /var/service/*
+    sv -w196 force-stop /var/service/* >/dev/null 2>&1
+    sv exit /var/service/* >/dev/null 2>&1
 }
 
 out "Running pre shutdown hooks..."
-- 
cgit v1.2.3