From: Russell Bryant Date: Tue, 20 Jun 2006 04:04:57 +0000 (+0000) Subject: ensure menuselect fails if the deps file isn't found X-Git-Tag: 1.4.0-beta1~842 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3846a727cdbb7b0f5c2dcef74771b668c471760;p=thirdparty%2Fasterisk.git 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 --- 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