]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3196. [bug] nsupdate: return nonzero exit code when target zone
authorEvan Hunt <each@isc.org>
Thu, 3 Nov 2011 04:29:28 +0000 (04:29 +0000)
committerEvan Hunt <each@isc.org>
Thu, 3 Nov 2011 04:29:28 +0000 (04:29 +0000)
                        doesn't exist. [RT #25783]

CHANGES
bin/nsupdate/nsupdate.c

diff --git a/CHANGES b/CHANGES
index 9b5ff501f108d9e4b8985b94156c9f08facd2f36..50e84e642a5499cc37a30ebb4d38e7b498c43f16 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+3196.   [bug]           nsupdate: return nonzero exit code when target zone
+                        doesn't exist. [RT #25783]
+
 3195.  [cleanup]       Silence "file not found" warnings when loading
                        managed-keys zone. [RT #26340]
 
index 0b80f6377707d7160d9502fd2d764aab527351f5..ba02366159378695efc0b21bf71f65871336c859 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nsupdate.c,v 1.196 2011/05/23 22:25:32 each Exp $ */
+/* $Id: nsupdate.c,v 1.197 2011/11/03 04:29:28 each Exp $ */
 
 /*! \file */
 
@@ -2280,6 +2280,7 @@ recvsoa(isc_task_t *task, isc_event_t *event) {
                dns_message_destroy(&soaquery);
                ddebug("Out of recvsoa");
                done_update();
+               seenerror = ISC_TRUE;
                return;
        }