aboutsummaryrefslogtreecommitdiffstats
path: root/res/ais
diff options
context:
space:
mode:
Diffstat (limited to 'res/ais')
-rw-r--r--res/ais/evt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/ais/evt.c b/res/ais/evt.c
index 2965df0e3..5de26e39c 100644
--- a/res/ais/evt.c
+++ b/res/ais/evt.c
@@ -475,7 +475,7 @@ static void load_config(void)
const char *cat = NULL;
struct ast_flags config_flags = { 0 };
- if (!(cfg = ast_config_load(filename, config_flags)))
+ if (!(cfg = ast_config_load(filename, config_flags)) || cfg == CONFIG_STATUS_FILEINVALID)
return;
while ((cat = ast_category_browse(cfg, cat))) {