From b2b046861d905856cf5acad38fb5c7a952f969a7 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 28 Jul 2020 13:46:27 +0200 Subject: [PATCH] fix postgres --- centreon-plugins/database/postgres/psqlcmd.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/centreon-plugins/database/postgres/psqlcmd.pm b/centreon-plugins/database/postgres/psqlcmd.pm index 194d1a275..8386dd687 100644 --- a/centreon-plugins/database/postgres/psqlcmd.pm +++ b/centreon-plugins/database/postgres/psqlcmd.pm @@ -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,