1 |
diff -Nur --no-dereference smeserver-audittools-1.6.0.old/root/sbin/e-smith/audittools/events smeserver-audittools-1.6.0/root/sbin/e-smith/audittools/events |
2 |
--- smeserver-audittools-1.6.0.old/root/sbin/e-smith/audittools/events 2008-10-07 11:46:19.000000000 -0400 |
3 |
+++ smeserver-audittools-1.6.0/root/sbin/e-smith/audittools/events 2021-08-23 00:06:45.725000000 -0400 |
4 |
@@ -45,6 +45,8 @@ |
5 |
|
6 |
return if ( $status eq "OWNED_BY_RPM"); |
7 |
|
8 |
+ return if ( $File::Find::name =~ /^\/etc\/e-smith\/events\/temp/); |
9 |
+ |
10 |
print "$File::Find::name: $status\n"; |
11 |
} |
12 |
|
13 |
@@ -61,7 +63,7 @@ |
14 |
|
15 |
my $install_time = $rpms[0]->tag("INSTALLTIME"); |
16 |
|
17 |
- my $st = stat($options{name}) or die "Couldn't stat $options{name}: $!"; |
18 |
+ my $st = lstat($options{name}) or die "Couldn't stat $options{name}: $!"; |
19 |
|
20 |
return "MODIFIED " . $rpms[0]->as_nvre if ($st->mtime > $install_time); |
21 |
|