diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-03-25 21:36:22 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-04-21 12:55:31 +0200 |
commit | 1276090705060fcc97072481c2383bbaaa556194 (patch) | |
tree | 5c0dd2919c625592979b2cef7ba484bca11e06c1 /src/init | |
parent | 1c6fcea20524d79975f81c3110408e8b5fea8731 (diff) |
util, refactor: Use GetPathArg to read "-conf" value
Also "includeconf" values been normalized.
Diffstat (limited to 'src/init')
-rw-r--r-- | src/init/common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/common.cpp b/src/init/common.cpp index 688471b35d..3d46857f3c 100644 --- a/src/init/common.cpp +++ b/src/init/common.cpp @@ -137,7 +137,7 @@ bool StartLogging(const ArgsManager& args) LogPrintf("Using data directory %s\n", fs::PathToString(gArgs.GetDataDirNet())); // Only log conf file usage message if conf file actually exists. - fs::path config_file_path = GetConfigFile(args.GetArg("-conf", BITCOIN_CONF_FILENAME)); + fs::path config_file_path = GetConfigFile(args.GetPathArg("-conf", BITCOIN_CONF_FILENAME)); if (fs::exists(config_file_path)) { LogPrintf("Config file: %s\n", fs::PathToString(config_file_path)); } else if (args.IsArgSet("-conf")) { |