Permalink
Browse files

Merge #7850: Removed call to `TryCreateDirectory` from `GetDefaultDat…

…aDir` in `src/util.cpp`.

41dbc48 Removed call to `TryCreateDirectory` from `GetDefaultDataDir` in `src/util.cpp`. (Alexander Regueiro)
  • Loading branch information...
laanwj committed Apr 14, 2016
2 parents 3911a0a + 41dbc48 commit 229a17ca915cbc6167f386ed4290cff6342b6abb
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/util.cpp
View
@@ -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";

0 comments on commit 229a17c

Please sign in to comment.