From b0ca4982088b8dff60aaddafe0de49726bd0b741 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 3 Nov 2011 04:31:30 +0000 Subject: [PATCH] 3196. [bug] nsupdate: return nonzero exit code when target zone doesn't exist. [RT #25783] --- CHANGES | 3 +++ bin/nsupdate/nsupdate.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index e59830692f..92d159917b 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +3196. [bug] nsupdate: return nonzero exit code when target zone + doesn't exist. [RT #25783] + 3194. [doc] Updated RFC references in the 'empty-zones-enable' documentation. [RT #25203] diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c index 82834379f1..6ddedb10b6 100644 --- a/bin/nsupdate/nsupdate.c +++ b/bin/nsupdate/nsupdate.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: nsupdate.c,v 1.163.48.19 2011/08/30 12:23:15 marka Exp $ */ +/* $Id: nsupdate.c,v 1.163.48.20 2011/11/03 04:31:30 each Exp $ */ /*! \file */ @@ -2166,6 +2166,7 @@ recvsoa(isc_task_t *task, isc_event_t *event) { dns_message_destroy(&soaquery); ddebug("Out of recvsoa"); done_update(); + seenerror = ISC_TRUE; return; }