From a02cd431152a0e4e519751a194c5c9fcd3b93606 Mon Sep 17 00:00:00 2001 From: Charles Duffy Date: Sun, 6 Feb 2011 15:04:19 -0600 Subject: [PATCH] repmgr: treat directory access errors during standby clone as failure --- repmgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/repmgr.c b/repmgr.c index 226edbca..10fa936f 100644 --- a/repmgr.c +++ b/repmgr.c @@ -686,6 +686,7 @@ do_standby_clone(void) /* Trouble accessing directory */ log_err( _("%s: could not access directory \"%s\": %s\n"), progname, runtime_options.dest_dir, strerror(errno)); + exit(ERR_BAD_CONFIG); } /* Connection parameters for master only */