Fix output message (typo) in ups mode

This commit is contained in:
Quentin Garnier 2014-06-02 15:38:54 +02:00
parent bb4214f339
commit 3ad4a4e3a9
1 changed files with 1 additions and 1 deletions

View File

@ -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',