mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 13:35:27 +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->status |= IS_MODULE;
|
||||||
}
|
}
|
||||||
node = insert_child(parent, node);
|
node = insert_child(parent, node);
|
||||||
if (node->status == DO_NOTHING) {
|
if (IS_DIR(node) && !(node->status & IS_MODULE)) {
|
||||||
// Intermediate node, travel deeper
|
// Intermediate node, travel deeper
|
||||||
construct_tree(module, node);
|
construct_tree(module, node);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user