From 502970faf5636718b85aa0c19b0c4e80dea2962e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Marigot?= Date: Tue, 11 Oct 2022 16:20:21 +0200 Subject: [PATCH] centreon::plugins::nrpe - fix variable for ssl_opt option (#3975) Fix ssl_opt variable when calling centreon::plugins::misc::eval_ssl_options --- centreon-plugins/centreon/plugins/nrpe.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/centreon/plugins/nrpe.pm b/centreon-plugins/centreon/plugins/nrpe.pm index ee3186fef..f35d5dc1d 100644 --- a/centreon-plugins/centreon/plugins/nrpe.pm +++ b/centreon-plugins/centreon/plugins/nrpe.pm @@ -90,7 +90,7 @@ sub check_options { $self->{ssl_context} = centreon::plugins::misc::eval_ssl_options( output => $self->{output}, - ssl_opt => $self->{option_results}->{ssl_opt} + ssl_opt => $options{option_results}->{ssl_opt} ); }