summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2011-03-24 20:51:22 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2011-03-24 20:51:22 +0000
commitc19339185882b3b6ab0df079fad857d2785a6f0c (patch)
tree21aa7b57b077ff66adb2fdd8c93cd0c8e1511717
parent911501e6bf91292effdc7b83f49cd44e4301891e (diff)
remove seemlingly redundant line. caught by XTaran
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@474 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xnagios-check-libs1
1 files changed, 0 insertions, 1 deletions
diff --git a/nagios-check-libs b/nagios-check-libs
index ae5bb51..abdc3ee 100755
--- a/nagios-check-libs
+++ b/nagios-check-libs
@@ -114,7 +114,6 @@ if ($CHILD_ERROR) { # program failed
for my $line (@lsof) {
my ($process, $pid, $user, $fd, undef, undef, undef, $path, $rest) = split /\s+/, $line;
if ($line =~ m/\.dpkg-/ || $line =~ m/path inode=/ || $fd eq 'DEL') {
- my ($process, $pid, $user, undef, undef, undef, undef, $path, $rest) = split /\s+/, $line;
next if $path =~ m#^/proc/#;
next if $path =~ m#^/var/tmp/#;
next if $path =~ m#^/SYS#;