mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
repmgr: treat directory access errors during standby clone as failure
This commit is contained in:
committed by
Greg Smith
parent
a67688f198
commit
a02cd43115
1
repmgr.c
1
repmgr.c
@@ -686,6 +686,7 @@ do_standby_clone(void)
|
|||||||
/* Trouble accessing directory */
|
/* Trouble accessing directory */
|
||||||
log_err( _("%s: could not access directory \"%s\": %s\n"),
|
log_err( _("%s: could not access directory \"%s\": %s\n"),
|
||||||
progname, runtime_options.dest_dir, strerror(errno));
|
progname, runtime_options.dest_dir, strerror(errno));
|
||||||
|
exit(ERR_BAD_CONFIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Connection parameters for master only */
|
/* Connection parameters for master only */
|
||||||
|
|||||||
Reference in New Issue
Block a user