mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-10-27 18:11:34 +01:00
Fix wrong regex check for ':' instead of '=' in getControllerInfo
This commit is contained in:
1 parent
32075f62ef
commit
db1093cd22
1 file changed
+1
-1
+1
-1
@@ -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