From 3ad4a4e3a9399d48ca090613e23b78dc747f0270 Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Mon, 2 Jun 2014 15:38:54 +0200 Subject: [PATCH] Fix output message (typo) in ups mode --- hardware/ups/standard/rfc1628/mode/batterystatus.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/ups/standard/rfc1628/mode/batterystatus.pm b/hardware/ups/standard/rfc1628/mode/batterystatus.pm index 6adb6a72f..d2b0fb34a 100644 --- a/hardware/ups/standard/rfc1628/mode/batterystatus.pm +++ b/hardware/ups/standard/rfc1628/mode/batterystatus.pm @@ -111,7 +111,7 @@ sub run { min => 0, max => 100); } $self->{output}->output_add(severity => $exit_code, - short_msg => sprintf("Charge remaining: %s%% (%s minutes remaing)", $charge_remain, $min_remain)); + short_msg => sprintf("Charge remaining: %s%% (%s minutes remaining)", $charge_remain, $min_remain)); if ($current != 0) { $self->{output}->perfdata_add(label => 'current', unit => 'A',