summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnagios-check-libs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nagios-check-libs b/nagios-check-libs
index 022c261..8c91fcd 100755
--- a/nagios-check-libs
+++ b/nagios-check-libs
@@ -73,7 +73,7 @@ if ($CHILD_ERROR) { # program failed
};
for my $line (@lsof) {
- if ($line =~ m/\.dpkg-/) {
+ if ($line =~ m/\.dpkg-/ || $line =~ m/path inode=/) {
my ($process, $pid, $user, $rest) = split /\s+/, $line;
#$processes{$user}->{$process} = [] unless defined $processes{$user}->{$process};
$processes{$user}->{$process}->{$pid} = 1;