]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Don't try to traverse directory with a command 25/head
authorMathieu Parent <math.parent@gmail.com>
Wed, 30 Mar 2016 13:46:39 +0000 (15:46 +0200)
committerMathieu Parent <math.parent@gmail.com>
Wed, 30 Mar 2016 13:46:39 +0000 (15:46 +0200)
tools/logresolvemerge.pl

index 13d1f3608c7e9082e1f82a4bc79b334d0cc4c9f3..0b6b97905d854372bb676b9ecbbb4c2e33f9b6c0 100755 (executable)
@@ -455,7 +455,7 @@ my $starttime=time();
 # Define the LogFileToDo list
 $cpt=1;
 foreach my $key (0..(@ParamFile-1)) {
-       if ($ParamFile[$key] !~ /\*/ && $ParamFile[$key] !~ /\?/) {
+       if (($ParamFile[$key] !~ /\*/ && $ParamFile[$key] !~ /\?/) || $ParamFile[$key] =~ /\|$/) {
 
                if ($Debug) { debug("DBG1 Log file $ParamFile[$key] is added to LogFileToDo with number $cpt."); }
                # Check for supported compression