From e288d1ae3cbe83ec3df3873a564c4bb77077fdef Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 20 Sep 2017 09:35:09 +0900 Subject: [PATCH] repmgrd: clarify comment about configuration file parsing There's no requirement to provide a configuration file, but if not, one must be available in one of the default locations. --- repmgrd.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/repmgrd.c b/repmgrd.c index 892e6f5a..be73e9d2 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -235,9 +235,10 @@ main(int argc, char **argv) logger_output_mode = OM_DAEMON; /* - * Parse the configuration file, if provided. If no configuration file was - * provided, or one was but was incomplete, parse_config() will abort - * anyway, with an appropriate message. + * Parse the configuration file, if provided (if no configuration file was + * provided, an attempt will be made to find one in one of the default + * locations). If no conifguration file is available, or it can't be parsed + * parse_config() will abort anyway, with an appropriate message. */ load_config(config_file, verbose, false, &config_file_options, argv[0]);