mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
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:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user