mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 05:27:37 +00:00
Fix cache mount bug
This commit is contained in:
parent
54e6a790cf
commit
47c0084641
@ -418,7 +418,7 @@ static void simple_mount(const char *path) {
|
|||||||
free(new_path);
|
free(new_path);
|
||||||
} else if (entry->d_type == DT_REG) {
|
} else if (entry->d_type == DT_REG) {
|
||||||
// Actual file path
|
// Actual file path
|
||||||
snprintf(buf, PATH_MAX, "%s/%s", buf, entry->d_name);
|
snprintf(buf, PATH_MAX, "%s%s", CACHEMOUNT, buf2);
|
||||||
// Clone all attributes
|
// Clone all attributes
|
||||||
clone_attr(buf2, buf);
|
clone_attr(buf2, buf);
|
||||||
// Finally, mount the file
|
// Finally, mount the file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user