From 3da6c6f25ba8b4278ed62d3ee2221233ae4b1be6 Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Mon, 20 Jan 2003 22:05:10 +0000 Subject: close /dev/null on shutdown --- usr.sbin/bind/bin/named/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/bind/bin/named/main.c b/usr.sbin/bind/bin/named/main.c index 4d318f6db17..cea4ba18de9 100644 --- a/usr.sbin/bind/bin/named/main.c +++ b/usr.sbin/bind/bin/named/main.c @@ -618,6 +618,8 @@ main(int argc, char *argv[]) { isc_app_finish(); + ns_os_closedevnull(); + ns_os_shutdown(); return (0); -- cgit v1.2.3