[packages/nagios-plugin-check_libs] update
glen
glen at pld-linux.org
Tue Dec 2 20:02:06 CET 2014
commit 31180a9dca0806eecc63afbdbf60844b2b625225
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Dec 2 21:01:34 2014 +0200
update
from:
https://raw.githubusercontent.com/bzed/pkg-nagios-plugins-contrib/master/check_libs/nagios-check-libs
nagios-check-libs | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/nagios-check-libs b/nagios-check-libs
index 977605d..4406413 100755
--- a/nagios-check-libs
+++ b/nagios-check-libs
@@ -170,6 +170,7 @@ LINE: for my $line (@lsof) {
my $inode = $fields{i};
my $path = $fields{n};
if ($path =~ m/\.dpkg-/ || $path =~ m/\(deleted\)/ || $path =~ /path inode=/ || $fd eq 'DEL') {
+ $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;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_libs.git/commitdiff/31180a9dca0806eecc63afbdbf60844b2b625225
More information about the pld-cvs-commit
mailing list