aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-04-14 13:27:57 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-04-14 13:38:49 +0200
commit229a17ca915cbc6167f386ed4290cff6342b6abb (patch)
treebe2f0e11745659540da9e8ed37843fdc31ece390 /src
parent3911a0a1b7817eeef190833e0635793c70a949f3 (diff)
parent41dbc4849e0bf14eef98962b0f0bddcde0bb3014 (diff)
Merge #7850: Removed call to `TryCreateDirectory` from `GetDefaultDataDir` in `src/util.cpp`.
41dbc48 Removed call to `TryCreateDirectory` from `GetDefaultDataDir` in `src/util.cpp`. (Alexander Regueiro)
Diffstat (limited to 'src')
-rw-r--r--src/util.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 59f58f2c55..00b75fbdbe 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -471,9 +471,7 @@ boost::filesystem::path GetDefaultDataDir()
pathRet = fs::path(pszHome);
#ifdef MAC_OSX
// Mac
- pathRet /= "Library/Application Support";
- TryCreateDirectory(pathRet);
- return pathRet / "Bitcoin";
+ return pathRet / "Library/Application Support/Bitcoin";
#else
// Unix
return pathRet / ".bitcoin";