mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-28 11:37:39 +00:00
Fix bug in magic mount
This commit is contained in:
parent
f872a122a9
commit
bdc83da098
@ -328,7 +328,7 @@ static void construct_tree(const char *module, struct node_entry *parent) {
|
||||
node->status |= IS_MODULE;
|
||||
}
|
||||
node = insert_child(parent, node);
|
||||
if (node->status == DO_NOTHING) {
|
||||
if (IS_DIR(node) && !(node->status & IS_MODULE)) {
|
||||
// Intermediate node, travel deeper
|
||||
construct_tree(module, node);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user