diff --git a/centreon/plugins/options.pm b/centreon/plugins/options.pm index 6cae0cc3b..557e2f412 100644 --- a/centreon/plugins/options.pm +++ b/centreon/plugins/options.pm @@ -61,7 +61,7 @@ sub set_sanity { $centreon::plugins::alternative::Getopt::warn_message = 1; } - $self->{sanity} == 1; + $self->{sanity} = 1; } sub set_output {