SF.net SVN: logwatch:[281] trunk/scripts/logwatch.pl

[email protected] Wed, 24 Dec 2014 16:21:35 +0000
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 281
          http://sourceforge.net/p/logwatch/code/281
Author:   stefjakobs
Date:     2014-12-24 16:21:34 +0000 (Wed, 24 Dec 2014)
Log Message:
-----------
initialize env variables to prevent warnings

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

Modified: trunk/scripts/logwatch.pl
===================================================================
--- trunk/scripts/logwatch.pl	2014-12-24 15:29:13 UTC (rev 280)
+++ trunk/scripts/logwatch.pl	2014-12-24 16:21:34 UTC (rev 281)
@@ -1295,6 +1295,8 @@
       # set env variables LOGWATCH_mumble_LIST
       push @EnvList, 'LOGWATCH_LOGFILE_LIST';
       push @EnvList, 'LOGWATCH_ARCHIVE_LIST';
+      $ENV{'LOGWATCH_LOGFILE_LIST'} = '';
+      $ENV{'LOGWATCH_ARCHIVE_LIST'} = '';
       foreach my $LogGroup (@FileList) {
          foreach my $log (@{$LogFileData{$LogGroup}{'logfiles'}}) {
             $ENV{'LOGWATCH_LOGFILE_LIST'} .= $log . " ";

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


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net