don't return -1 if zapata.conf is not present (part of the patch from
[asterisk/asterisk.git] / channels / chan_zap.c
index da6132a..d071ab6 100644 (file)
@@ -10250,7 +10250,7 @@ static int setup_zap(int reload)
        /* We *must* have a config file otherwise stop immediately */
        if (!cfg) {
                ast_log(LOG_ERROR, "Unable to load config %s\n", config);
-               return -1;
+               return 0;
        }