aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/loader.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/loader.c b/main/loader.c
index 198ebc929..8c0067d92 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -853,8 +853,7 @@ static struct load_order_entry *add_to_load_order(const char *resource, struct l
if (!resource_name_match(order->resource, resource)) {
/* Make sure we have the proper setting for the required field
(we might have both load= and required= lines in modules.conf) */
- order->required |= required;
- }
+ order->required |= required;
return NULL;
}
}