--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:
nhmall
2019-11-11 12:49:54 -05:00
parent 11c869d7c5
commit 6dfbff9d4b
5 changed files with 80 additions and 4 deletions

View File

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