Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > ce518618aecfae41ee53ac84cfed93d5 > files > 7

logwatch-7.4.0-25.20130522svn140.fc18.src.rpm

Update smartd log parsing.

--- logwatch/scripts/services/smartd	2011-01-14 03:41:32.000000000 +1100
+++ logwatch/scripts/services/smartd	2011-01-21 23:08:22.000000000 +1100
@@ -116,7 +116,7 @@
        # ignore empty lines
    } elsif ( ($ThisLine =~ /^smartd version/)
           || ($ThisLine =~ /^Home page/)
-          || ($ThisLine =~ /^smartd .* Copyright \(C\) [0-9-]+ by Bruce Allen/)
+          || ($ThisLine =~ /^smartd .*Copyright \(C\) [0-9-]+ by Bruce Allen/)
           || ($ThisLine =~ /configuration file/i)
           || ($ThisLine =~ /\[trip Temperature is \d+ Celsius\]/)
           || ($ThisLine =~ /^Monitoring/)