need that one too

old-commit-hash: e4d2174a4efaf324f2e32c11a569bc7f069a4a30
This commit is contained in:
Comma Device
2020-10-17 17:44:10 -07:00
parent b145aafc1f
commit b43b1ac567
+1
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;
}