From e0e55d3e0b953ae97fc72743983c4c43efad90ef Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 18 Oct 2016 14:20:42 -0600 Subject: [PATCH] Also send logrotate script stdout to /dev/null (bug #1376815) --- clamav.spec | 5 ++++- clamd.logrotate | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/clamav.spec b/clamav.spec index 4a51bba..b6f2325 100644 --- a/clamav.spec +++ b/clamav.spec @@ -58,7 +58,7 @@ Requires(postun): /bin/systemctl\ Summary: End-user tools for the Clam Antivirus scanner Name: clamav Version: 0.99.2 -Release: 1%{?dist} +Release: 2%{?dist} License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2} Group: Applications/File URL: http://www.clamav.net @@ -886,6 +886,9 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || : %changelog +* Tue Oct 18 2016 Orion Poplawski - 0.99.2-2 +- Also send logrotate script stdout to /dev/null (bug #1376815) + * Mon Jun 13 2016 Orion Poplawski - 0.99.2-1 - Update to 0.99.2 - Drop cliopts patch fixed upstream, use upstream's "--forground" option name diff --git a/clamd.logrotate b/clamd.logrotate index 0b0b531..315f352 100644 --- a/clamd.logrotate +++ b/clamd.logrotate @@ -4,6 +4,6 @@ missingok postrotate - killall -HUP clamd. 2>/dev/null || : + killall -HUP clamd. >/dev/null 2>&1 || : endscript }