mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-25 22:55:15 +02:00
fix postgres
This commit is contained in:
parent
59d909a1e2
commit
5dc2bf06e6
@ -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…
x
Reference in New Issue
Block a user