summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index a48e36fba..634fffefb 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -2459,7 +2459,7 @@ sub run_command {
$lnum++;
next;
}
- if ($line =~ /^([\?\w]+)\s+\| (.*)/) {
+ if ($line =~ /^ ?([\?\w]+)\s+\| (.*)/) {
$stuff[$lnum]{$1} = $2;
$lastval = $1;
}
@@ -2488,7 +2488,7 @@ sub run_command {
warn "OS: $^O\n";
warn "Action: $action\n";
warn "Calling line: $cline\n";
- warn "Output: $line\n";
+ warn "Output: >>$line<<\n";
$args =~ s/ -c (.+)/ -c "$1"/s;
warn "Command: $PSQL $args\n";
## Next to last thing is to see if we can grab the PG version