1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-13 11:17:53 +00:00

Create missing directories on the way

This commit is contained in:
Mikhail Titov 2016-03-08 16:57:53 -06:00
parent 74827cd8cf
commit e7f46b4fbe

2
FS.cpp
View File

@ -108,7 +108,7 @@ namespace fs {
bool HashedStorage::Init(const char * chars, size_t count) {
if (!boost::filesystem::exists(root)) {
boost::filesystem::create_directory(root);
boost::filesystem::create_directories(root);
}
for (size_t i = 0; i < count; i++) {