aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-20 04:04:57 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-20 04:04:57 +0000
commit9ac291883a43af4aa24f751d47f06c5a946e4957 (patch)
tree3aa4e6a474dd0940c640b41c3f10e4ee0876b734 /build_tools
parent1bf6e418ca2e9d5a0e289b1d175d2f7632f155a1 (diff)
ensure menuselect fails if the deps file isn't found
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35006 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-rw-r--r--build_tools/menuselect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/build_tools/menuselect.c b/build_tools/menuselect.c
index 3388ccf0d..189ede202 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