need that one too

pull/2197/head
Comma Device 2020-10-17 17:44:10 -07:00
parent 722f9d6b75
commit e4d2174a4e
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ static int mkdir_p(std::string path) {
if (mkdir(_path, 0777) != 0) {
if (errno != EEXIST) return -1;
}
chmod(_path, 0777);
umask(prev_mask);
return 0;
}