Fix lynis rootfile

This commit is contained in:
Arne Fitzenreiter
2008-11-01 21:07:06 +01:00
parent babf4ceafb
commit fe4c98d3cb
3 changed files with 50 additions and 50 deletions

View File

@@ -28,7 +28,7 @@ foreach(@FILES) {
# 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";