diff options
author | Cem Keylan <cem@ckyln.com> | 2020-03-25 16:27:52 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-03-25 16:27:52 +0300 |
commit | b713da6222463f476fc3722c6b316aa28fb5c0bd (patch) | |
tree | 33ac09b4fdef7b3474463fafc86ce7f937044ac4 /rc.shutdown | |
parent | ce8eaba8581ebbb56242cc2ee73c72a928e59a99 (diff) | |
download | init-b713da6222463f476fc3722c6b316aa28fb5c0bd.tar.gz |
don't print errors if runit is not installed or not used.
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-x | rc.shutdown | 4 |
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..." |