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…
Reference in New Issue
Block a user