diff options
Diffstat (limited to 'channels/chan_skinny.c')
-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 */ |