mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 15:46:29 +00:00
Fix pg_ctl path generation in do_standby_switchover()
This commit is contained in:
4
repmgr.c
4
repmgr.c
@@ -2874,8 +2874,8 @@ do_standby_switchover(void)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
maxlen_snprintf(command,
|
maxlen_snprintf(command,
|
||||||
"%s/pg_ctl -D %s -m %s -W stop >/dev/null 2>&1 && echo 1 || echo 0",
|
"%s -D %s -m %s -W stop >/dev/null 2>&1 && echo 1 || echo 0",
|
||||||
pg_bindir,
|
make_pg_path("pg_ctl"),
|
||||||
remote_data_directory,
|
remote_data_directory,
|
||||||
runtime_options.pg_ctl_mode);
|
runtime_options.pg_ctl_mode);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user