]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - tools/checknewlog.pl
Fix lynis rootfile
[people/pmueller/ipfire-2.x.git] / tools / checknewlog.pl
index 5c9bae94c0e84e6b9dc90dfe19a2229e67af8704..126235e9b640591e9df27cf33436cfbf8bdcc012 100755 (executable)
@@ -28,7 +28,7 @@ foreach(@FILES) {
 #      print $_."\n";
        my $Found = 0;
 
 #      print $_."\n";
        my $Found = 0;
 
-       if ( $_ =~ /$\.log/ || $_ =~ /^\.+/  || $_=~ /-install/ || $_=~ /-tools/ || $_=~ /-config/ || $_=~ /-kmod-/){
+       if ( $_ =~ /$\.log/ || $_ =~ /^\.+/  || $_=~ /-install/ || $_=~ /-tools/ || $_=~ /-config/ || $_=~ /-kmod-/ || $_ eq 'FILES' ){
                next;
        } elsif ( $_=~ /missing_rootfile/ ){
                print "Rootfile for $_ missing!\n";
                next;
        } elsif ( $_=~ /missing_rootfile/ ){
                print "Rootfile for $_ missing!\n";