mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
Fixing a message, shouldn't show progname in the middle of a line.
Is one message not two.
This commit is contained in:
@@ -235,8 +235,8 @@ MonitorExecute(void)
|
|||||||
}
|
}
|
||||||
if (PQstatus(primaryConn) != CONNECTION_OK)
|
if (PQstatus(primaryConn) != CONNECTION_OK)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "\n%s: We couldn't reconnect to master, checking if ", progname);
|
fprintf(stderr, "\n%s: We couldn't reconnect to master, checking if "
|
||||||
fprintf(stderr, "%s: another node has been promoted.\n", progname);
|
"another node has been promoted.\n", progname);
|
||||||
for (connection_retries = 0; connection_retries < 6; connection_retries++)
|
for (connection_retries = 0; connection_retries < 6; connection_retries++)
|
||||||
{
|
{
|
||||||
primaryConn = getMasterConnection(myLocalConn, myLocalId, myClusterName, &primaryId);
|
primaryConn = getMasterConnection(myLocalConn, myLocalId, myClusterName, &primaryId);
|
||||||
|
|||||||
Reference in New Issue
Block a user