mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
Remove last argument from log_err, left in commit 55c7ea4b5e.
Also rephrase the sentence Reported by Jeroen Dekkers
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -433,7 +433,7 @@ do_master_register(void)
|
||||
log_info(_("%s connected to master, checking its state\n"), progname);
|
||||
if (is_standby(conn))
|
||||
{
|
||||
log_err(_("Trying to register as a master a standby node\n"), progname);
|
||||
log_err(_("Trying to register a standby node as a master\n"));
|
||||
PQfinish(conn);
|
||||
exit(ERR_BAD_CONFIG);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user