--showpaths wasn't returning the paths if there was an error in a config file
Also, Windows only: Introduces some environment variable substitution for paths specified in a config file
This commit is contained in:
@@ -673,7 +673,7 @@ initoptions()
|
||||
|
||||
/* ... and _must_ parse correctly. */
|
||||
if (!read_config_file(SYSCF_FILE, SET_IN_SYS)) {
|
||||
if (config_error_done())
|
||||
if (config_error_done() && !iflags.initoptions_noterminate)
|
||||
nh_terminate(EXIT_FAILURE);
|
||||
}
|
||||
config_error_done();
|
||||
|
||||
Reference in New Issue
Block a user