Fixed the logrotate script. Bug #161294, reported by Jochen Schalanda <jochen at...
authorAndrej Kacian <ticho@gentoo.org>
Wed, 10 Jan 2007 11:25:34 +0000 (11:25 +0000)
committerAndrej Kacian <ticho@gentoo.org>
Wed, 10 Jan 2007 11:25:34 +0000 (11:25 +0000)
Package-Manager: portage-2.1.2_rc4-r1

app-antivirus/clamav/ChangeLog
app-antivirus/clamav/files/clamav.logrotate

index d12027c82a5f083e08305c5cf724ef4d1f2776d2..0ad7f496c26db6d74b14307652b6feb5d6e1d742 100644 (file)
@@ -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 <ticho@gentoo.org> files/clamav.logrotate:
+  Fixed the logrotate script. Bug #161294, reported by Jochen Schalanda
+  <jochen at schalanda.de>.
 
 *clamav-0.88.7-r2 (24 Dec 2006)
 
index a87d45d31690f91aee933ce631b351c8a7583906..e79ce6e77ee86db1b1269c9b5217dc11df77267c 100644 (file)
@@ -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
 }