]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorBrian Wellington <source@isc.org>
Wed, 14 Mar 2001 01:24:53 +0000 (01:24 +0000)
committerBrian Wellington <source@isc.org>
Wed, 14 Mar 2001 01:24:53 +0000 (01:24 +0000)
If the app is blocked and a shutdown signal arrives, just exit().

lib/isc/unix/app.c

index c3718171f2fd874a95dc6221affb2f83764712fd..382ae4e33cef22e3a6c389374c03ebeac4e3601b 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: app.c,v 1.36.2.1 2001/01/09 22:51:07 bwelling Exp $ */
+/* $Id: app.c,v 1.36.2.2 2001/03/14 01:24:53 bwelling Exp $ */
 
 #include <config.h>
 
@@ -493,6 +493,9 @@ isc_app_run(void) {
                        want_reload = ISC_FALSE;
                        return (ISC_R_RELOAD);
                }
+
+               if (want_shutdown && blocked)
+                       exit(-1);
        }
 
 #else /* ISC_PLATFORM_USETHREADS */