]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't fail to start if the config file is missing.
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 23 Aug 2010 12:06:26 +0000 (12:06 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 23 Aug 2010 12:06:26 +0000 (12:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283175 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_stun_monitor.c

index 807f885dbed7a4982c9d533c704d71e83cd22208..54be1e44c6b594041a54dae47ff330e8f0bda143 100644 (file)
@@ -297,7 +297,7 @@ static int load_module(void)
        if (__reload(1)) {
                stun_stop_monitor();
                ast_mutex_destroy(&args.lock);
-               return AST_MODULE_LOAD_FAILURE;
+               return AST_MODULE_LOAD_DECLINE;
        }
 
        return AST_MODULE_LOAD_SUCCESS;