fix temperature component
This commit is contained in:
parent
43d13ced04
commit
5ad2d6c8c8
|
@ -159,6 +159,8 @@ sub run {
|
|||
$self->check_fan();
|
||||
} elsif ($self->{option_results}->{component} eq 'psu') {
|
||||
$self->check_psu();
|
||||
} elsif ($self->{option_results}->{component} eq 'temperature') {
|
||||
$self->check_temperature();
|
||||
} else {
|
||||
$self->{output}->add_option_msg(short_msg => "Wrong option. Cannot find component '" . $self->{option_results}->{component} . "'.");
|
||||
$self->{output}->option_exit();
|
||||
|
|
Loading…
Reference in New Issue