get rid of silly LD_LIBRARY_PATH for testing, output cleanup
[mirror/dsa-nagios.git] / dsa-nagios-checks / checks / dsa-check-hpacucli
index db5f013..06c6fad 100755 (executable)
@@ -124,7 +124,7 @@ for my $slot (sort @controllers) {
                my $type;
                if ($drive =~ /^[0-9]+:[0-9]+$/) { # scsi drives
                        $type = 'SCSI';
-               } elsif ($drive =~ /^[0-9]+I:[0-9]+:[0-9]+$/) { # SAS
+               } elsif ($drive =~ /^[0-9]+[EI]:[0-9]+:[0-9]+$/) { # SAS
                        $type = 'SAS';
                } else {
                        # I'm not going to run pass arguments of unknown form to the shell..