mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-03-03 16:02:41 +01:00
Fix length of header map checking
This commit is contained in:
@@ -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