--- bin/MasterSync 2003/08/05 09:20:08 1.2 +++ bin/MasterSync 2003/08/05 09:52:36 1.3 @@ -35,8 +35,10 @@ $minfo = "$minfo password=$opt_password" if (defined($opt_password)); my $conn = Pg::connectdb($minfo); - -$RServ::quiet = !$verbose; +if ($conn->status != PGRES_CONNECTION_OK) { + print STDERR "Failed opening $minfo\n"; + exit 1; +} $res = SyncSyncID($conn, $server, $syncid);