mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 03:17:43 +00:00
Fix a flaw in mounting logic
This commit is contained in:
parent
1e877808bc
commit
166f6412c2
@ -325,8 +325,8 @@ 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 == IS_INTER) {
|
if (node->status & (IS_SKEL | IS_INTER)) {
|
||||||
// Intermediate node, travel deeper
|
// Intermediate folder, travel deeper
|
||||||
construct_tree(module, node);
|
construct_tree(module, node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user