mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
logwatch: Fix unmatched entries from clamav
This - cosmetic - patch fixes the unnecessary unmatched "Activating the newly loaded database..."-entries introduced with 'clamav 0.103.0'. Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
2127c97b8f
commit
e49289c9ea
@@ -0,0 +1,11 @@
|
||||
diff -U 3 a/scripts/services/clamav b/scripts/services/clamav
|
||||
--- a/scripts/services/clamav Fri Sep 21 00:46:14 2020
|
||||
+++ b/scripts/services/clamav Mon Dec 25 09:26:26 2020
|
||||
@@ -77,6 +77,7 @@
|
||||
( $ThisLine =~ /Bytecode: Security mode set to /) or
|
||||
( $ThisLine =~ /^No stats for Database check/ ) or
|
||||
( $ThisLine =~ /^Received \d+ file descriptor\(s\) from systemd\.$/) or
|
||||
+ ( $ThisLine =~ /^Activating the newly loaded database.../ ) or
|
||||
0 # This line prevents blame shifting as lines are added above
|
||||
) {
|
||||
# We do not care about these.
|
||||
Reference in New Issue
Block a user