ensure menuselect fails if the deps file isn't found
authorRussell Bryant <russell@russellbryant.com>
Tue, 20 Jun 2006 04:04:57 +0000 (04:04 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 20 Jun 2006 04:04:57 +0000 (04:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35006 65c4cc65-6c06-0410-ace0-fbb531ad65f3

build_tools/menuselect.c

index 3388ccf..189ede2 100644 (file)
@@ -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