mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-10-30 19:41:33 +01:00
Fix length of header map checking
This commit is contained in:
1 parent
f23d8047e5
commit
26a0505cb9
1 file changed
+2
-2
+2
-2
@@ -356,10 +356,10 @@ sub getLogicalDevices{
|
||||
my @currmap;
|
||||
if($line =~ /^DG\/VD TYPE.*/){
|
||||
@splittedLine = split(' ', $line);
|
||||
if(scalar(@splittedLine)== 8){
|
||||
if(scalar(@splittedLine)== 9){
|
||||
@currmap = @ldmap_a
|
||||
}
|
||||
if(scalar(@splittedLine)== 9){
|
||||
if(scalar(@splittedLine)== 10){
|
||||
@currmap = @ldmap_cc_a
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user