diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 3017fe1e0fd00cf35da2ade00b0a80c9d24f0fc0..7d7e3f09f19cefa4408bce63bbff4a4e7e057540 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 */