need that one too

old-commit-hash: e4d2174a4e
commatwo_master
Comma Device 5 years ago
parent b145aafc1f
commit b43b1ac567
  1. 1
      selfdrive/common/params.cc

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

Loading…
Cancel
Save