mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-01 13:01:40 -05:00
warn about failed zone loads
This commit is contained in:
parent
a1ab2f1fde
commit
8e99b9ed65
1 changed files with 5 additions and 1 deletions
|
|
@ -244,7 +244,11 @@ load_zone(dns_c_ctx_t *ctx, dns_c_zone_t *czone, dns_c_view_t *cview,
|
|||
* want to fail the whole config file load just
|
||||
* because we couldn't get a zone.
|
||||
*/
|
||||
(void)dns_zone_load(zone);
|
||||
result = dns_zone_load(zone);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
fprintf(stderr, "dns_zone_load failed: %s\n",
|
||||
isc_result_totext(result));
|
||||
}
|
||||
}
|
||||
|
||||
cleanup:
|
||||
|
|
|
|||
Loading…
Reference in a new issue