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.
This commit is contained in:
Ian Barwick
2017-09-20 09:35:09 +09:00
parent 64cebb8b26
commit e288d1ae3c

View File

@@ -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]);