mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-04-23 08:42:49 +02:00
Fix wrong regex check for ':' instead of '=' in getControllerInfo
This commit is contained in:
+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