summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1997-02-06 05:28:52 +0000
committerBill Paul <wpaul@FreeBSD.org>1997-02-06 05:28:52 +0000
commitc6c5d97511d6e1b516dd00e6da242ef8bc2f6e2c (patch)
tree5eeb6673523c1551d1d62710ec118277d02b18c7
parent6836c26dc5b9bab9b197bcb8dae077c022a8d6c4 (diff)
Notes
-rw-r--r--usr.sbin/ypserv/yp_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ypserv/yp_server.c b/usr.sbin/ypserv/yp_server.c
index e505b94d7b78..941cc9119044 100644
--- a/usr.sbin/ypserv/yp_server.c
+++ b/usr.sbin/ypserv/yp_server.c
@@ -336,8 +336,9 @@ ypproc_xfr_2_svc(ypreq_xfr *argp, struct svc_req *rqstp)
sprintf (t, "%u", argp->transid);
sprintf (g, "%u", argp->prog);
sprintf (p, "%u", argp->port);
- if (debug)
+ if (debug) {
close(0); close(1); close(2);
+ }
if (strcmp(yp_dir, _PATH_YP)) {
execl(ypxfr_command, "ypxfr",
"-d", argp->map_parms.domain,