summaryrefslogtreecommitdiff
path: root/includes.c
diff options
context:
space:
mode:
Diffstat (limited to 'includes.c')
-rw-r--r--includes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes.c b/includes.c
index a9a75cb..a2b37a3 100644
--- a/includes.c
+++ b/includes.c
@@ -54,7 +54,8 @@ fw3_load_includes(struct fw3_state *state, struct uci_package *p)
include->name = e->name;
include->enabled = true;
- fw3_parse_options(include, fw3_include_opts, s);
+ if (!fw3_parse_options(include, fw3_include_opts, s))
+ warn_elem(e, "has invalid options");
if (!include->enabled)
{