From 13f2d46e92dabf3dfef6f324707412deea12b3e5 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 30 Aug 2017 10:00:48 +0900 Subject: [PATCH] "standby clone": exit with 0 after successful --dry-run --- repmgr-action-standby.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c index 9e775867..bf28c2c6 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -100,7 +100,7 @@ static CheckStatus parse_node_check_replication_lag(const char *node_check_outpu * -c/--fast-checkpoint * --copy-external-config-files * --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! * --without-barman */ @@ -423,7 +423,7 @@ do_standby_clone(void) log_info(_("all pre-requisites for \"standby clone\" are met")); PQfinish(source_conn); - exit(ERR_BAD_CONFIG); + exit(SUCCESS); } if (mode != barman)