Skip to content
Snippets Groups Projects
Commit 2310fa35 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

Does not properly capture "Status of Logical Device" while rebuilding

parent 036d0655
No related branches found
No related tags found
No related merge requests found
...@@ -203,8 +203,10 @@ sub parse_config_fh ...@@ -203,8 +203,10 @@ sub parse_config_fh
if ($line =~ /^\S+.*\w\s+(\d+)$/) { if ($line =~ /^\S+.*\w\s+(\d+)$/) {
$current_logical_drive = $1; $current_logical_drive = $1;
} elsif ($line =~ /^\s+(\S.*\S+)\s+:\s+(.*)$/) { } elsif ($line =~ /^\s+([^:]+)\s+:\s+(.*)$/) {
$ctrl->{'logical drive'}{$current_logical_drive}{$1} = $2; my ($an, $av)= ($1, $2);
$an=~ s/\s*$//;
$ctrl->{'logical drive'}{$current_logical_drive}{$an} = $av;
} elsif ($line =~ /^\s+-+$/) { } elsif ($line =~ /^\s+-+$/) {
my $cat = <$fh>; my $cat = <$fh>;
$cat =~ s/^\s+(\S.*\S+)\s+/$1/; $cat =~ s/^\s+(\S.*\S+)\s+/$1/;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment