mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-02-21 11:18:41 +01: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