diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-14 04:03:28 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-14 04:03:28 +0000 |
commit | 8079aac16bf85ddf8c152f6e36dd644dd420b793 (patch) | |
tree | e82b6e8985220d10438e12056e8c5c870ac83550 | |
parent | e85fbb7544fe715781040b66f6784610aadbeadd (diff) |
Don't die if no skinny config
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1517 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | channels/chan_skinny.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 3017fe1e0..7d7e3f09f 100755 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -2473,14 +2473,14 @@ static int reload_config(void) if (gethostname(ourhost, sizeof(ourhost))) { ast_log(LOG_WARNING, "Unable to get hostname, Skinny disabled\n"); - return 1; + return 0; } cfg = ast_load(config); /* We *must* have a config file otherwise stop immediately */ if (!cfg) { ast_log(LOG_NOTICE, "Unable to load config %s, Skinny disabled\n", config); - return 1; + return 0; } /* load the general section */ |