diff --git a/centreon-plugins/centreon/plugins/script.pm b/centreon-plugins/centreon/plugins/script.pm index d0e224edc..9c4d3cbe1 100644 --- a/centreon-plugins/centreon/plugins/script.pm +++ b/centreon-plugins/centreon/plugins/script.pm @@ -52,7 +52,7 @@ sub new { sub prepare_destroy { my ($self) = @_; - %handlers = undef; + %handlers = (); } sub set_signal_handlers {