mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 18:52:29 +02:00
util, refactor: Use GetPathArg to read "-conf" value
Also "includeconf" values been normalized.
This commit is contained in:
@@ -431,7 +431,7 @@ void openDebugLogfile()
|
||||
|
||||
bool openBitcoinConf()
|
||||
{
|
||||
fs::path pathConfig = GetConfigFile(gArgs.GetArg("-conf", BITCOIN_CONF_FILENAME));
|
||||
fs::path pathConfig = GetConfigFile(gArgs.GetPathArg("-conf", BITCOIN_CONF_FILENAME));
|
||||
|
||||
/* Create the file */
|
||||
std::ofstream configFile{pathConfig, std::ios_base::app};
|
||||
|
||||
Reference in New Issue
Block a user