diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-04-14 13:27:57 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-04-14 13:38:49 +0200 |
| commit | 229a17ca915cbc6167f386ed4290cff6342b6abb (patch) | |
| tree | be2f0e11745659540da9e8ed37843fdc31ece390 /src/util.cpp | |
| parent | Merge #7818: Refactor script tests (diff) | |
| parent | Removed call to `TryCreateDirectory` from `GetDefaultDataDir` in `src/util.cpp`. (diff) | |
| download | discoin-229a17ca915cbc6167f386ed4290cff6342b6abb.tar.xz discoin-229a17ca915cbc6167f386ed4290cff6342b6abb.zip | |
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/util.cpp')
| -rw-r--r-- | src/util.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util.cpp b/src/util.cpp index 59f58f2c5..00b75fbdb 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"; |