From e149253f3c3954a137b442259fa78fcfdf74b989 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Wed, 10 Jan 2007 11:25:34 +0000 Subject: [PATCH] Fixed the logrotate script. Bug #161294, reported by Jochen Schalanda . Package-Manager: portage-2.1.2_rc4-r1 --- app-antivirus/clamav/ChangeLog | 8 ++++++-- app-antivirus/clamav/files/clamav.logrotate | 6 ++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog index d12027c82a5f..0ad7f496c26d 100644 --- a/app-antivirus/clamav/ChangeLog +++ b/app-antivirus/clamav/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-antivirus/clamav -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.193 2006/12/24 21:07:22 ticho Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.194 2007/01/10 11:25:34 ticho Exp $ + + 10 Jan 2007; Andrej Kacian files/clamav.logrotate: + Fixed the logrotate script. Bug #161294, reported by Jochen Schalanda + . *clamav-0.88.7-r2 (24 Dec 2006) diff --git a/app-antivirus/clamav/files/clamav.logrotate b/app-antivirus/clamav/files/clamav.logrotate index a87d45d31690..e79ce6e77ee8 100644 --- a/app-antivirus/clamav/files/clamav.logrotate +++ b/app-antivirus/clamav/files/clamav.logrotate @@ -2,8 +2,7 @@ missingok create 640 clamav clamav postrotate - /bin/kill -HUP `cat /var/run/clamav/clamd.pid 2> /dev/null` 2> -/dev/null || true + /bin/kill -HUP `cat /var/run/clamav/clamd.pid 2> /dev/null` 2>/dev/null || true endscript } @@ -11,7 +10,6 @@ missingok create 640 clamav clamav postrotate - /bin/kill -HUP `cat /var/run/clamav/freshclam.pid 2> /dev/null` 2> -/dev/null || true + /bin/kill -HUP `cat /var/run/clamav/freshclam.pid 2> /dev/null` 2>/dev/null || true endscript } -- 2.26.2