From 0660bded0b85be9d6f44b9d9933ea562630ffbec Mon Sep 17 00:00:00 2001 From: Jaime Casanova Date: Thu, 19 Apr 2012 12:21:49 -0500 Subject: [PATCH] Fix a switch in which a "break" was missing that makes always that --force option was used end up in the default section and error. --- repmgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/repmgr.c b/repmgr.c index 4bdad9ea..6ba410a3 100644 --- a/repmgr.c +++ b/repmgr.c @@ -985,6 +985,7 @@ do_standby_clone(void) PQfinish(conn); exit(ERR_BAD_CONFIG); } + break; default: /* Trouble accessing directory */ log_err(_("%s: could not access directory \"%s\": %s\n"),