diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-02-04 18:52:10 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-02-09 19:31:23 +0200 |
commit | 06fed4c21ec64cd224231d15cbbeb985b8fba5f2 (patch) | |
tree | ae5de5d2394f6ded3fb3d95ca242f6faf36dc89f /src | |
parent | 15b632bf169f6272ca90faba8d8036e3e822542f (diff) |
Use ArgsManager::GetPathArg() for "-blocksdir" option
Diffstat (limited to 'src')
-rw-r--r-- | src/util/system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp index 7bf1e8b8e5..c5130dc684 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -416,7 +416,7 @@ const fs::path& ArgsManager::GetBlocksDirPath() const if (!path.empty()) return path; if (IsArgSet("-blocksdir")) { - path = fs::absolute(fs::PathFromString(GetArg("-blocksdir", ""))); + path = fs::absolute(GetPathArg("-blocksdir")); if (!fs::is_directory(path)) { path = ""; return path; |