Fix output message (typo) in ups mode
This commit is contained in:
parent
07699eb298
commit
7873dd6e70
|
@ -111,7 +111,7 @@ sub run {
|
||||||
min => 0, max => 100);
|
min => 0, max => 100);
|
||||||
}
|
}
|
||||||
$self->{output}->output_add(severity => $exit_code,
|
$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) {
|
if ($current != 0) {
|
||||||
$self->{output}->perfdata_add(label => 'current', unit => 'A',
|
$self->{output}->perfdata_add(label => 'current', unit => 'A',
|
||||||
|
|
Loading…
Reference in New Issue