Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mpl/bind/dist/lib/isc/unix Only ignore signals if w...



details:   https://anonhg.NetBSD.org/src/rev/6849223437d5
branches:  trunk
changeset: 1005983:6849223437d5
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 29 01:38:27 2019 +0000

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

diffstat:

 external/mpl/bind/dist/lib/isc/unix/app.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r c8b49381b79a -r 6849223437d5 external/mpl/bind/dist/lib/isc/unix/app.c
--- a/external/mpl/bind/dist/lib/isc/unix/app.c Sat Dec 28 19:18:31 2019 +0000
+++ b/external/mpl/bind/dist/lib/isc/unix/app.c Sun Dec 29 01:38:27 2019 +0000
@@ -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 @@
                goto cleanup;
 #endif
 
+       if (isc_bind9) {
        /*
         * Block SIGHUP, SIGINT, SIGTERM.
         *
@@ -224,6 +225,7 @@
                result = ISC_R_UNEXPECTED;
                goto cleanup;
        }
+       }
 
        return (ISC_R_SUCCESS);
 



Home | Main Index | Thread Index | Old Index