From: Greg Sabino Mullane Date: Fri, 7 Nov 2008 14:02:11 +0000 (-0500) Subject: Fix for replicate_row args. X-Git-Tag: 2.9.0~208 X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=8cd420a857c40094f072b78f3cd7a297575b2288;p=check_postgres.git Fix for replicate_row args. --- diff --git a/check_postgres.pl b/check_postgres.pl index 5044cd9d2..ebb13418e 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -111,8 +111,8 @@ die $USAGE unless 'dbuser|u=s@', 'dbpass=s@', - 'dbhost2|host2|H2=s@', - 'dbport2|port2=s@', + 'host2|dbhost2|H2=s@', + 'port2|dbport2=s@', 'dbname2|db2=s@', 'dbuser2|u2=s@', 'dbpass2=s@', @@ -881,7 +881,7 @@ sub run_command { my $arg = shift || {}; my $info = { command => $string, db => [], hosts => 0 }; - $VERBOSE >= 3 and warn qq{Starting run_command with "$string"\n}; + $VERBOSE >= 3 and warn qq{Starting run_command with: $string\n}; my (%host,$passfile,$passfh,$tempdir,$tempfile,$tempfh,$errorfile,$errfh); my $offset = -1;