mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-02-28 14:48:40 +01:00
Fix dereferencing of status level
This commit is contained in:
@@ -1270,7 +1270,7 @@ MAIN: {
|
||||
if($bbu == 1){
|
||||
($bbuPresent,$cvPresent) = checkBBUorCVIsPresent($storcli);
|
||||
if($bbuPresent == 0 && $cvPresent == 0){
|
||||
$statusLevel_a[0] = 'Critical';
|
||||
${$statusLevel_a[0]} = 'Critical';
|
||||
push @{$criticals_a}, 'BBU/CV_Present';
|
||||
$statusLevel_a[3]->{'BBU_Status'} = 'Critical';
|
||||
$statusLevel_a[3]->{'CV_Status'} = 'Critical';
|
||||
|
||||
Reference in New Issue
Block a user