mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 23:54:18 +02:00
remove warn message
This commit is contained in:
parent
cb53db999c
commit
26cf08f3d3
@ -142,6 +142,7 @@ sub get_endpoint {
|
|||||||
|
|
||||||
my $xml_result;
|
my $xml_result;
|
||||||
eval {
|
eval {
|
||||||
|
$SIG{__WARN__} = sub {};
|
||||||
$xml_result = XMLin($content, ForceArray => $options{force_array}, KeyAttr => []);
|
$xml_result = XMLin($content, ForceArray => $options{force_array}, KeyAttr => []);
|
||||||
};
|
};
|
||||||
if ($@) {
|
if ($@) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user