[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 02/02: update nagios-check-libs to the latest upstream version

Evgeni Golov evgeni at moszumanska.debian.org
Sat Jun 7 11:35:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

evgeni pushed a commit to branch master
in repository pkg-nagios-plugins-contrib.

commit 607d11626c2f8012ea894a5805ae9cab25418c32
Author: Evgeni Golov <evgeni at debian.org>
Date:   Sat Jun 7 13:34:58 2014 +0200

    update nagios-check-libs to the latest upstream version
---
 check_libs/nagios-check-libs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/check_libs/nagios-check-libs b/check_libs/nagios-check-libs
index 977605d..4406413 100644
--- a/check_libs/nagios-check-libs
+++ b/check_libs/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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins-contrib



More information about the Pkg-nagios-changes mailing list