diff options
-rw-r--r-- | usr.sbin/ypserv/yp_server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ypserv/yp_server.c b/usr.sbin/ypserv/yp_server.c index e505b94..941cc91 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, |