Blob Blame History Raw
--- logwatch/scripts/services/smartd	2011-02-28 12:08:10.000000000 +0100
+++ logwatch/scripts/services/smartd.new	2013-06-06 13:55:44.835000202 +0200
@@ -117,7 +117,8 @@ while (defined(my $ThisLine = <STDIN>))
        # ignore empty lines
    } elsif ( ($ThisLine =~ /^smartd version/)
           || ($ThisLine =~ /^Home page/)
-          || ($ThisLine =~ /^smartd .*Copyright \(C\) [0-9-]+ by Bruce Allen/)
+          || ($ThisLine =~ /Copyright \(C\) [0-9-]+(?: by|,) Bruce Allen/)
+          || ($ThisLine =~ /^smartd [0-9\.]+ [0-9-]+/)
           || ($ThisLine =~ /configuration file/i)
           || ($ThisLine =~ /\[trip Temperature is \d+ Celsius\]/)
           || ($ThisLine =~ /^Monitoring/)