From 3cc09e95a8d039aa5eb96cb89a22e1d33dff4d5c Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Fri, 31 Jan 2014 14:18:29 +0100 Subject: [PATCH] Fix little bug on temperature component #5151 --- hardware/server/dell/openmanage/mode/components/temperature.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/server/dell/openmanage/mode/components/temperature.pm b/hardware/server/dell/openmanage/mode/components/temperature.pm index 92723f2f4..89815708e 100644 --- a/hardware/server/dell/openmanage/mode/components/temperature.pm +++ b/hardware/server/dell/openmanage/mode/components/temperature.pm @@ -99,7 +99,7 @@ sub check { $temperature_Index, ${$status{$temperature_Status}}[0], $temperature_Reading2, $chassis_Index, $temperature_LocationName )); - if ($psu_Status != 3) { + if ($temperature_Status != 3) { $self->{output}->output_add(severity => ${$status{$temperature_Status}}[1], short_msg => sprintf("temperature probe %d status is %s", $temperature_Index, ${$status{$temperature_Status}}[0]));