mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
Make verbose command line option useful on top of
the new logging infrastructure.
This commit is contained in:
8
config.c
8
config.c
@@ -30,10 +30,14 @@ parse_config(const char* config_file, t_configuration_options* options)
|
||||
|
||||
FILE *fp = fopen (config_file, "r");
|
||||
|
||||
/*
|
||||
* Since some commands don't require a config file at all, not
|
||||
* having one isn't necessarily a problem.
|
||||
*/
|
||||
if (fp == NULL)
|
||||
{
|
||||
fprintf(stderr, _("Could not find configuration file '%s'\n"), config_file);
|
||||
exit(ERR_BAD_CONFIG);
|
||||
fprintf(stderr, _("Did not find the configuration file '%s', continuing\n"), config_file);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Initialize */
|
||||
|
||||
Reference in New Issue
Block a user