fix postgres

This commit is contained in:
garnier-quentin 2020-07-28 13:46:27 +02:00
parent 59d909a1e2
commit 5dc2bf06e6
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ sub command_execution {
my ($self, %options) = @_;
my ($stdout, $exit_code) = centreon::plugins::misc::execute(
output => $self->{output},
command => $self->{psql_cmd},
command_options => join(' ', @{$self->{args}}) . ' -c "' . $options{request} . '"',
wait_exit => 1,