fix postgres
This commit is contained in:
parent
6fa3e5cd5e
commit
b2b046861d
|
@ -183,6 +183,7 @@ sub command_execution {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
my ($stdout, $exit_code) = centreon::plugins::misc::execute(
|
my ($stdout, $exit_code) = centreon::plugins::misc::execute(
|
||||||
|
output => $self->{output},
|
||||||
command => $self->{psql_cmd},
|
command => $self->{psql_cmd},
|
||||||
command_options => join(' ', @{$self->{args}}) . ' -c "' . $options{request} . '"',
|
command_options => join(' ', @{$self->{args}}) . ' -c "' . $options{request} . '"',
|
||||||
wait_exit => 1,
|
wait_exit => 1,
|
||||||
|
|
Loading…
Reference in New Issue