summaryrefslogtreecommitdiff
path: root/package/config/zconf.y
diff options
context:
space:
mode:
Diffstat (limited to 'package/config/zconf.y')
-rw-r--r--package/config/zconf.y6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/config/zconf.y b/package/config/zconf.y
index 438fe4bed..13465c766 100644
--- a/package/config/zconf.y
+++ b/package/config/zconf.y
@@ -501,9 +501,11 @@ void conf_parse(const char *name)
}
menu_finalize(&rootmenu);
for_all_symbols(i, sym) {
- sym_check_deps(sym);
+ if (sym_check_deps(sym))
+ zconfnerrs++;
}
-
+ if (zconfnerrs)
+ exit(1);
sym_set_change_count(1);
}