dsa-check-hpacucli: Do not create the 'Failed' array while checking if an entry is in there. If it doesn't exist that's also good
+dsa-nagios-nrpe-config (61) unstable; urgency=low
+
+ * dsa-check-hpacucli: Do not create the 'Failed' array while checking if an
+ entry is in there. If it doesn't exist that's also good.
+
+ -- Peter Palfrader <weasel@debian.org> Mon, 06 Oct 2008 14:08:30 +0200
+
dsa-nagios-nrpe-config (60) unstable; urgency=low
* Add dsa-check-raid-areca.
# sometimes stuff breaks and they fall back to 10mb/sec.
for my $drive (@drives) {
# skip drives that are known to have failed
- next if (grep {$drive eq $_} @{$status{'Failed'}});
+ next if (exists $status{'Failed'} && grep {$drive eq $_} @{$status{'Failed'}});
my $type;
if ($drive =~ /^[0-9]+:[0-9]+$/) { # scsi drives
$type = 'SCSI';