mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-07-21 09:02:10 +00:00
fixed bug with missed data directory
This commit is contained in:
@@ -68,10 +68,10 @@ namespace fs {
|
||||
}
|
||||
|
||||
bool Init() {
|
||||
if (boost::filesystem::exists(dataDir))
|
||||
if (!boost::filesystem::exists(dataDir))
|
||||
boost::filesystem::create_directory(dataDir);
|
||||
std::string destinations = DataDirPath("destinations");
|
||||
if (boost::filesystem::exists(destinations))
|
||||
if (!boost::filesystem::exists(destinations))
|
||||
boost::filesystem::create_directory(destinations);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user