From a3846a727cdbb7b0f5c2dcef74771b668c471760 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 20 Jun 2006 04:04:57 +0000 Subject: [PATCH] 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 --- build_tools/menuselect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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