=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/session.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- src/usr.bin/ssh/session.c 2000/06/18 04:42:54 1.20 +++ src/usr.bin/ssh/session.c 2000/06/26 21:59:18 1.21 @@ -8,7 +8,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: session.c,v 1.20 2000/06/18 04:42:54 markus Exp $"); +RCSID("$OpenBSD: session.c,v 1.21 2000/06/26 21:59:18 markus Exp $"); #include "xmalloc.h" #include "ssh.h" @@ -73,6 +73,8 @@ extern int log_stderr; extern int debug_flag; +extern int startup_pipe; + /* Local Xauthority file. */ static char *xauthfile; @@ -145,6 +147,7 @@ * authentication. */ alarm(0); + close(startup_pipe); /* * Inform the channel mechanism that we are the server side and that @@ -1560,6 +1563,7 @@ * authentication. */ alarm(0); + close(startup_pipe); server_loop2(); if (xauthfile) xauthfile_cleanup_proc(NULL);