mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56: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,
|
||||
"%s/pg_ctl -D %s -m %s -W stop >/dev/null 2>&1 && echo 1 || echo 0",
|
||||
pg_bindir,
|
||||
"%s -D %s -m %s -W stop >/dev/null 2>&1 && echo 1 || echo 0",
|
||||
make_pg_path("pg_ctl"),
|
||||
remote_data_directory,
|
||||
runtime_options.pg_ctl_mode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user