Module Name:    src
Committed By:   christos
Date:           Sun Dec 29 01:38:27 UTC 2019

Modified Files:
        src/external/mpl/bind/dist/lib/isc/unix: app.c

Log Message:
Only ignore signals if we are bind (not dhcpd).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mpl/bind/dist/lib/isc/unix/app.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mpl/bind/dist/lib/isc/unix/app.c
diff -u src/external/mpl/bind/dist/lib/isc/unix/app.c:1.4 src/external/mpl/bind/dist/lib/isc/unix/app.c:1.5
--- src/external/mpl/bind/dist/lib/isc/unix/app.c:1.4	Sun Feb 24 15:01:31 2019
+++ src/external/mpl/bind/dist/lib/isc/unix/app.c	Sat Dec 28 20:38:27 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: app.c,v 1.4 2019/02/24 20:01:31 christos Exp $	*/
+/*	$NetBSD: app.c,v 1.5 2019/12/29 01:38:27 christos Exp $	*/
 
 /*
  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -196,6 +196,7 @@ isc_app_ctxstart(isc_appctx_t *ctx0) {
 		goto cleanup;
 #endif
 
+	if (isc_bind9) {
 	/*
 	 * Block SIGHUP, SIGINT, SIGTERM.
 	 *
@@ -224,6 +225,7 @@ isc_app_ctxstart(isc_appctx_t *ctx0) {
 		result = ISC_R_UNEXPECTED;
 		goto cleanup;
 	}
+	}
 
 	return (ISC_R_SUCCESS);
 

Reply via email to