diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 4c79635193..be02dbea29 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -6909,7 +6909,7 @@ del_sigs(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, } deleted = true; } - if (warn) { + if (warn && !deleted) { /* * At this point, we've got an RRSIG, * which is signed by an inactive key. @@ -6919,7 +6919,7 @@ del_sigs(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, * offline will prevent us spinning waiting * for the private part. */ - if (incremental && !deleted) { + if (incremental) { result = offline(db, ver, zonediff, name, rdataset.ttl, &rdata);