diff --git a/build_tools/menuselect.c b/build_tools/menuselect.c index 3388ccf0d5..189ede202e 100644 --- a/build_tools/menuselect.c +++ b/build_tools/menuselect.c @@ -694,7 +694,8 @@ int main(int argc, char *argv[]) exit(res); /* Process module dependencies */ - res = process_deps(); + if ((res = process_deps())) + exit(res); /* The --check-deps option is used to ask this application to check to * see if that an existing menuselect.makeopts file contails all of the