mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2025-07-14 03:41:50 +02:00
Fix wrong regex check for ':' instead of '=' in getControllerInfo
This commit is contained in:
@ -244,7 +244,7 @@ sub getControllerInfo{
|
||||
}
|
||||
my %foundController_h;
|
||||
foreach my $line(@output){
|
||||
if($line =~ /\:/){
|
||||
if($line =~ /\=/){
|
||||
my @lineVals = split('=', $line);
|
||||
$lineVals[0] =~ s/^\s+|\s+$//g;
|
||||
$lineVals[1] =~ s/^\s+|\s+$//g;
|
||||
|
Reference in New Issue
Block a user