Browse Source

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)
0.13
Wladimir J. van der Laan 9 years ago
parent
commit
229a17ca91
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 4
      src/util.cpp

4
src/util.cpp

@ -471,9 +471,7 @@ boost::filesystem::path GetDefaultDataDir()
pathRet = fs::path(pszHome); pathRet = fs::path(pszHome);
#ifdef MAC_OSX #ifdef MAC_OSX
// Mac // Mac
pathRet /= "Library/Application Support"; return pathRet / "Library/Application Support/Bitcoin";
TryCreateDirectory(pathRet);
return pathRet / "Bitcoin";
#else #else
// Unix // Unix
return pathRet / ".bitcoin"; return pathRet / ".bitcoin";

Loading…
Cancel
Save