git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93004
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
do_include = ast_config_internal_load(cur, cfg, flags, real_inclusion_name) ? 1 : 0;
if (!ast_strlen_zero(exec_file))
unlink(exec_file);
do_include = ast_config_internal_load(cur, cfg, flags, real_inclusion_name) ? 1 : 0;
if (!ast_strlen_zero(exec_file))
unlink(exec_file);
+ if (!do_include) {
+ ast_log(LOG_ERROR, "The file '%s' was listed as a #include but it does not exist.\n", cur);
/* XXX otherwise what ? the default return is 0 anyways */
} else {
/* XXX otherwise what ? the default return is 0 anyways */
} else {