diff options
-rwxr-xr-x | sitesummary-nodes | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sitesummary-nodes b/sitesummary-nodes index 1b958b1..181614b 100755 --- a/sitesummary-nodes +++ b/sitesummary-nodes @@ -213,7 +213,7 @@ EOF while (<F>) { chomp; my ($dev, $partition, $fs, $opts) = split; - next if (exists $checked{$partition}); + next if (exists $checked{$device}); next if ($fs eq "devpts" || $fs eq "autofs" || $fs eq "binfmt_misc" || @@ -228,7 +228,7 @@ EOF $fs eq "tmpfs" || $fs eq "usbfs"); - $checked{$partition} = 1; + $checked{$device} = 1; my $warn = 10; my $crit = 5; print_nagios_service_check($remote, $hostname, |