aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 56d558d7af..00cd1c92f4 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1084,7 +1084,7 @@ const boost::filesystem::path &GetDataDir(bool fNetSpecific)
if (fNetSpecific && GetBoolArg("-testnet", false))
path /= "testnet3";
- fs::create_directory(path);
+ fs::create_directories(path);
fCachedPath[fNetSpecific] = true;
return path;