add a missing return
authorLuigi Rizzo <rizzo@icir.org>
Wed, 21 Nov 2007 22:20:36 +0000 (22:20 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Wed, 21 Nov 2007 22:20:36 +0000 (22:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89508 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/cygload.c

index 3b8951b..5945af4 100644 (file)
@@ -17,4 +17,5 @@ int main(int argc, char *argv[])
        if (ast_main)
                return ast_main(argc, argv);
        fprintf(stderr, "could not load asterisk, %s\n", dlerror());
+       return 1;       /* there was an error */
 }