mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 16:47:50 +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 = insert_child(parent, node);
|
||||
if (node->status == IS_INTER) {
|
||||
// Intermediate node, travel deeper
|
||||
if (node->status & (IS_SKEL | IS_INTER)) {
|
||||
// Intermediate folder, travel deeper
|
||||
construct_tree(module, node);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user