From: Greg Sabino Mullane Date: Tue, 21 Jun 2011 03:49:01 +0000 (-0400) Subject: Make a better (runable) output for the error report. X-Git-Tag: 2.18.0~53 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=0475205a2e18d63f591e76447cc2009ed4b641d0;p=check_postgres.git Make a better (runable) output for the error report. --- diff --git a/check_postgres.pl b/check_postgres.pl index 6fcc47993..b4f09ce7d 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -2240,6 +2240,7 @@ sub run_command { warn "Action: $action\n"; warn "Calling line: $cline\n"; warn "Output: $line\n"; + $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}) {