mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-06 17:22:04 +00:00
Improve xmkdir
This commit is contained in:
@@ -307,7 +307,7 @@ int xrename(const char *oldpath, const char *newpath) {
|
||||
|
||||
int xmkdir(const char *pathname, mode_t mode) {
|
||||
int ret = mkdir(pathname, mode);
|
||||
if (ret == -1) {
|
||||
if (ret == -1 && errno != EEXIST) {
|
||||
PLOGE("mkdir %s %u", pathname, mode);
|
||||
}
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user