From 1276090705060fcc97072481c2383bbaaa556194 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Fri, 25 Mar 2022 21:36:22 +0100 Subject: util, refactor: Use GetPathArg to read "-conf" value Also "includeconf" values been normalized. --- src/init/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/init') 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")) { -- cgit v1.2.3