mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
need that one too
old-commit-hash: e4d2174a4efaf324f2e32c11a569bc7f069a4a30
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user