SF.net SVN: logwatch:[227] scripts/logwatch.pl

[email protected] Tue, 9 Sep 2014 11:12:56 +0000
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 227
          http://sourceforge.net/p/logwatch/code/227
Author:   stefjakobs
Date:     2014-09-09 11:12:55 +0000 (Tue, 09 Sep 2014)
Log Message:
-----------
logwatch.pl: fix override of executables (Thanks: Danny, Born)

Modified Paths:
--------------
    scripts/logwatch.pl

Modified: scripts/logwatch.pl
===================================================================
--- scripts/logwatch.pl	2014-09-09 11:07:27 UTC (rev 226)
+++ scripts/logwatch.pl	2014-09-09 11:12:55 UTC (rev 227)
@@ -520,10 +520,10 @@
             } else {
                $LogFileData{$ThisLogFile}{$ReadConfigNames[$i]} = $ReadConfigValues[$i];
             }
-            for my $i (0..$#CmdList) {
-                $LogFileData{$ThisLogFile}{+sprintf("%03d-%s", $i, $CmdList[$i])} = $CmdArgList[$i];
-            }
          }
+         for my $i (0..$#CmdList) {
+             $LogFileData{$ThisLogFile}{+sprintf("%03d-%s", $i, $CmdList[$i])} = $CmdArgList[$i];
+         }
       }
 }
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk