Commit d76496a6 authored by Mark Andrews's avatar Mark Andrews
Browse files

handle ISC_R_FILENOTFOUND

parent 18749940
......@@ -5546,6 +5546,8 @@ setup_newzones(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig,
cfg_parser_reset(ns_g_addparser);
result = cfg_parse_file(ns_g_addparser, view->new_zone_file,
&cfg_type_addzoneconf, &nzcfg->nzconfig);
if (result == ISC_R_FILENOTFOUND)
result = ISC_R_SUCCESS;
return (result);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment