summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/bin
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2003-01-20 22:05:10 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2003-01-20 22:05:10 +0000
commit3da6c6f25ba8b4278ed62d3ee2221233ae4b1be6 (patch)
tree5316def722e2a5f3c00380d01f12d1ed16e965b8 /usr.sbin/bind/bin
parent8d63731b4807ca1cf964ba9e83a57da278900680 (diff)
close /dev/null on shutdown
Diffstat (limited to 'usr.sbin/bind/bin')
-rw-r--r--usr.sbin/bind/bin/named/main.c2
1 files changed, 2 insertions, 0 deletions
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);