Skip to content
Snippets Groups Projects
Commit 9c56b158 authored by Mathieu Alorent's avatar Mathieu Alorent
Browse files

Close Issue#1

"Can't show second Logical device number"
parent ea2b2fbd
No related branches found
No related tags found
No related merge requests found
......@@ -197,7 +197,7 @@ sub parse_config_fh
next if(!defined($current_controller));
if($line =~ /^Logical drive information/) {
if($line =~ /^Logical drive information/ or $line =~ /^Logical device information/) {
LEVEL4: while($line = <$fh>) {
chomp $line;
......@@ -217,7 +217,7 @@ sub parse_config_fh
} elsif ($line =~ /^\S+.*\w\s+(\d+)$/) {
$current_logical_drive = $1;
last LEVEL5;
} elsif ($line =~ /^$/) {
} elsif ($line =~ /^-+$/) {
last LEVEL4;
} elsif ($line =~ /^\s+-+$/) {
next;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment