blob: 0840d487365e5b299ca6edcca927f4ca5af73304 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Nur a/check_libs/nagios-check-libs b/check_libs/nagios-check-libs
--- a/check_libs/nagios-check-libs
+++ b/check_libs/nagios-check-libs
@@ -170,7 +170,7 @@
my $inode = $fields{i};
my $path = $fields{n};
if ($path =~ m/\.dpkg-/ || $path =~ m/\(deleted\)/ || $path =~ /path inode=/ || $path =~ m#/\.nfs# || $fd eq 'DEL') {
- $path =~ s/^\(deleted\)//; # in some cases "(deleted)" is at the beginning of the string
+ $path =~ s/^ ?\(deleted\)//; # in some cases "(deleted)" is at the beginning of the string
for my $i (@{$config->{'ignorelist'}}) {
my $ignore = eval($i);
next LINE if $ignore;
|