Don't die if no skinny config
[asterisk/asterisk.git] / channels / chan_skinny.c
index 3017fe1..7d7e3f0 100755 (executable)
@@ -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 */