mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
daemon (start|stop): verify that repmgrd starts/stops.
Note this may not always be possible for "daemon stop" if we are unable to determine the repmgrd PID.
This commit is contained in:
@@ -2298,7 +2298,7 @@ do_standby_follow(void)
|
||||
NULL);
|
||||
}
|
||||
|
||||
if (PQstatus(follow_target_conn) == CONNECTION_OK || runtime_options.wait == false)
|
||||
if (PQstatus(follow_target_conn) == CONNECTION_OK || runtime_options.wait_provided == false)
|
||||
{
|
||||
break;
|
||||
}
|
||||
@@ -2317,7 +2317,7 @@ do_standby_follow(void)
|
||||
log_error(_("unable to connect to target node %i"), follow_target_node_id);
|
||||
}
|
||||
|
||||
if (runtime_options.wait == true)
|
||||
if (runtime_options.wait_provided == true)
|
||||
{
|
||||
if (follow_target_node_id == UNKNOWN_NODE_ID)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user