aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-03-25 16:27:52 +0300
committerCem Keylan <cem@ckyln.com>2020-03-25 16:27:52 +0300
commitb713da6222463f476fc3722c6b316aa28fb5c0bd (patch)
tree33ac09b4fdef7b3474463fafc86ce7f937044ac4 /rc.shutdown
parentce8eaba8581ebbb56242cc2ee73c72a928e59a99 (diff)
downloadinit-b713da6222463f476fc3722c6b316aa28fb5c0bd.tar.gz
don't print errors if runit is not installed or not used.
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown4
1 files 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..."