Complement of last commit, same return to mkdir condition.
This commit is contained in:
parent
be4bee3119
commit
2431aba246
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ int ipfs_flatfs_create_directory(const char* full_directory) {
|
|||
// it is not there, create it
|
||||
#ifdef __MINGW32__
|
||||
if (mkdir(full_directory) == -1)
|
||||
return 0;
|
||||
#else
|
||||
if (mkdir(full_directory, S_IRWXU) == -1)
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue