summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-06-20 04:04:57 +0000
committerRussell Bryant <russell@russellbryant.com>2006-06-20 04:04:57 +0000
commita3846a727cdbb7b0f5c2dcef74771b668c471760 (patch)
tree3aa4e6a474dd0940c640b41c3f10e4ee0876b734
parentc260301476fefa97f9c718caee8737f008e36928 (diff)
ensure menuselect fails if the deps file isn't found
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-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