diff --git a/lib/bind9/check.c b/lib/bind9/check.c index 2fd1589962..c7f4e92a32 100644 --- a/lib/bind9/check.c +++ b/lib/bind9/check.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: check.c,v 1.7 2001/11/09 03:34:53 marka Exp $ */ +/* $Id: check.c,v 1.8 2001/11/13 06:34:59 marka Exp $ */ #include @@ -486,8 +486,9 @@ bind9_check_namedconf(cfg_obj_t *config, isc_log_t *logctx, isc_mem_t *mctx) { (void)cfg_map_get(config, "options", &options); - if (options != NULL) - check_options(options, logctx); + if (options != NULL && + check_options(options, logctx) != ISC_R_SUCCESS) + result = ISC_R_FAILURE; (void)cfg_map_get(config, "view", &views);