mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
2582. [bug] Don't emit warning log message when we attempt to
remove non-existant journal. [RT #19516]
This commit is contained in:
parent
9384dc16a1
commit
64e161a7f7
3
CHANGES
3
CHANGES
@ -1,3 +1,6 @@
|
||||
2582. [bug] Don't emit warning log message when we attempt to
|
||||
remove non-existant journal. [RT #19516]
|
||||
|
||||
2581. [contrib] dlz/mysql set MYSQL_OPT_RECONNECT option on connection.
|
||||
Requires MySQL 5.0.19 or later. [RT #19084]
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.488 2009/03/13 01:35:18 marka Exp $ */
|
||||
/* $Id: zone.c,v 1.489 2009/03/26 22:51:54 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@ -9560,7 +9560,7 @@ zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) {
|
||||
isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL,
|
||||
DNS_LOGMODULE_ZONE, ISC_LOG_DEBUG(3),
|
||||
"removing journal file");
|
||||
if (remove(zone->journal) < 0) {
|
||||
if (remove(zone->journal) < 0 && errno != ENOENT) {
|
||||
char strbuf[ISC_STRERRORSIZE];
|
||||
isc__strerror(errno, strbuf, sizeof(strbuf));
|
||||
isc_log_write(dns_lctx,
|
||||
|
Loading…
x
Reference in New Issue
Block a user