summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index f3de959b8..3ccaf6247 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -2488,7 +2488,7 @@ sub run_command {
warn "Action: $action\n";
warn "Calling line: $cline\n";
warn "Output: $line\n";
- $args =~ s/ -c (.+)/-c "$1"/s;
+ $args =~ s/ -c (.+)/ -c "$1"/s;
warn "Command: $PSQL $args\n";
## Last thing is to see if we can grab the PG version
if (! $opt{stop_looping}) {