mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 00:24:46 +02:00
enh(windows/local): pending-reboot mode - encoding management (#3169)
This commit is contained in:
parent
5c490218a7
commit
26179a3063
@ -140,7 +140,7 @@ sub manage_selection {
|
||||
|
||||
my $decoded;
|
||||
eval {
|
||||
$decoded = JSON::XS->new->utf8->decode($stdout);
|
||||
$decoded = JSON::XS->new->decode($self->{output}->decode($stdout));
|
||||
};
|
||||
if ($@) {
|
||||
$self->{output}->add_option_msg(short_msg => "Cannot decode json response: $@");
|
||||
|
Loading…
x
Reference in New Issue
Block a user