mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-13 08:17:38 +01:00
Create missing directories on the way
This commit is contained in:
parent
74827cd8cf
commit
e7f46b4fbe
1 changed files with 1 additions and 1 deletions
2
FS.cpp
2
FS.cpp
|
@ -108,7 +108,7 @@ namespace fs {
|
||||||
|
|
||||||
bool HashedStorage::Init(const char * chars, size_t count) {
|
bool HashedStorage::Init(const char * chars, size_t count) {
|
||||||
if (!boost::filesystem::exists(root)) {
|
if (!boost::filesystem::exists(root)) {
|
||||||
boost::filesystem::create_directory(root);
|
boost::filesystem::create_directories(root);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (size_t i = 0; i < count; i++) {
|
for (size_t i = 0; i < count; i++) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue