Fix output message (typo) in ups mode
This commit is contained in:
parent
bb4214f339
commit
3ad4a4e3a9
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue