From b0138085572648ef2826209935f5e707494cb53c Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 10 Jan 2019 11:16:27 +0100 Subject: [PATCH] fix snmp autoreduce error --- centreon/plugins/snmp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon/plugins/snmp.pm b/centreon/plugins/snmp.pm index f68b44663..18eb97c22 100644 --- a/centreon/plugins/snmp.pm +++ b/centreon/plugins/snmp.pm @@ -333,7 +333,7 @@ sub get_leef { $self->{output}->option_exit(exit_litteral => "SNMP partial response"); } - $self->set_error(error_status => -1, error_msg => $msg); + $self->set_error(error_status => -1, error_msg => "SNMP partial response"); return undef; }