+ Fix unitialized value
This commit is contained in:
parent
94e93f3549
commit
2a6454d95f
|
@ -110,7 +110,7 @@ sub manage_selection {
|
|||
my @lines = split /\n/, $stdout;
|
||||
foreach my $policy_name (@lines) {
|
||||
my $command2 = $self->{option_results}->{command2};
|
||||
$command2 =~ s/%{policy_name}/$policy_name/g;
|
||||
$command2 =~ s/%\{policy_name\}/$policy_name/g;
|
||||
my ($stdout2) = centreon::plugins::misc::execute(output => $self->{output},
|
||||
options => $self->{option_results},
|
||||
sudo => $self->{option_results}->{sudo},
|
||||
|
|
Loading…
Reference in New Issue