From dfef2ec2f9dbe3ccd9305515a07700b3908859a3 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Fri, 2 Oct 2015 13:34:28 +0200 Subject: Make stopping services silent on console --- config/spamd/spamd.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/spamd') diff --git a/config/spamd/spamd.inc b/config/spamd/spamd.inc index 9b1849c7..a4094ad3 100644 --- a/config/spamd/spamd.inc +++ b/config/spamd/spamd.inc @@ -179,9 +179,9 @@ EOF; $rc['stop'] = <<< EOF -/usr/bin/killall spamd-setup -/usr/bin/killall spamlogd -/usr/bin/killall spamd +/usr/bin/killall spamd-setup 2>/dev/null +/usr/bin/killall spamlogd 2>/dev/null +/usr/bin/killall spamd 2>/dev/null sleep 3 if [ `/sbin/mount | /usr/bin/grep '[f]descfs' | /usr/bin/wc -l` -gt 0 ]; then /sbin/umount /dev/fd -- cgit v1.2.3