mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
"standby clone": exit with 0 after successful --dry-run
This commit is contained in:
@@ -100,7 +100,7 @@ static CheckStatus parse_node_check_replication_lag(const char *node_check_outpu
|
|||||||
* -c/--fast-checkpoint
|
* -c/--fast-checkpoint
|
||||||
* --copy-external-config-files
|
* --copy-external-config-files
|
||||||
* --recovery-min-apply-delay
|
* --recovery-min-apply-delay
|
||||||
* --replication-user XXX only required if no upstream record
|
* --replication-user (only required if no upstream record)
|
||||||
* --use-recovery-conninfo-password XXX not implemented!
|
* --use-recovery-conninfo-password XXX not implemented!
|
||||||
* --without-barman
|
* --without-barman
|
||||||
*/
|
*/
|
||||||
@@ -423,7 +423,7 @@ do_standby_clone(void)
|
|||||||
log_info(_("all pre-requisites for \"standby clone\" are met"));
|
log_info(_("all pre-requisites for \"standby clone\" are met"));
|
||||||
|
|
||||||
PQfinish(source_conn);
|
PQfinish(source_conn);
|
||||||
exit(ERR_BAD_CONFIG);
|
exit(SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mode != barman)
|
if (mode != barman)
|
||||||
|
|||||||
Reference in New Issue
Block a user