[packages/clamav] - while reloading freshclam redirect stderr to /dev/null
kiesiu
kiesiu at pld-linux.org
Mon Mar 18 10:40:38 CET 2013
commit ecc1734f8e727f539fc8fb5038e6280d846dacba
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date: Mon Mar 18 09:55:31 2013 +0100
- while reloading freshclam redirect stderr to /dev/null
clamav.logrotate | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/clamav.logrotate b/clamav.logrotate
index 4bb3de7..a5753e2 100644
--- a/clamav.logrotate
+++ b/clamav.logrotate
@@ -7,6 +7,6 @@
/var/log/freshclam.log {
create 640 clamav root
postrotate
- /bin/killall -HUP freshclam || /sbin/service syslog-ng flush-logs >/dev/null
+ /bin/killall -HUP freshclam 2>/dev/null || /sbin/service syslog-ng flush-logs >/dev/null
endscript
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/clamav.git/commitdiff/09a963734720249c8eeb5127f4ae9095ad5e51e6
More information about the pld-cvs-commit
mailing list