mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
-includeconf=<path> support in config handler, for including external configuration files
This commit is contained in:
@@ -92,7 +92,7 @@ bool AppInit(int argc, char* argv[])
|
||||
}
|
||||
try
|
||||
{
|
||||
gArgs.ReadConfigFile(gArgs.GetArg("-conf", BITCOIN_CONF_FILENAME));
|
||||
gArgs.ReadConfigFiles();
|
||||
} catch (const std::exception& e) {
|
||||
fprintf(stderr,"Error reading configuration file: %s\n", e.what());
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user