mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2025-07-14 03:41:50 +02:00
Allow more than one whitespace after DG/VD
This commit is contained in:
@ -391,7 +391,7 @@ sub getLogicalDevices{
|
||||
next;
|
||||
}
|
||||
if(defined($currBlock)){
|
||||
if($line =~ /^DG\/VD TYPE.*/){
|
||||
if($line =~ /^DG\/VD[[:blank:]]+TYPE.*/){
|
||||
@splittedLine = split(' ', $line);
|
||||
if(scalar(@splittedLine)== 9){
|
||||
$LDMAP = \@map_a;
|
||||
|
Reference in New Issue
Block a user