diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | session.c | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -7,6 +7,7 @@ - (djm) Fix OSF SIA auth NULL pointer deref. Report from Mike Battersby <mib@unimelb.edu.au> - (bal) NCR SVR4 compatiblity provide by Don Bragg <thewizarddon@yahoo.com> + - (stevesk) session.c: remove debugging code. 20010211 - (bal) OpenBSD Sync @@ -3903,4 +3904,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.748 2001/02/12 07:29:45 mouring Exp $ +$Id: ChangeLog,v 1.749 2001/02/12 15:07:52 stevesk Exp $ @@ -1969,8 +1969,6 @@ session_close_by_channel(int id, void *arg) session_close(s); } else { /* notify child, delay session cleanup */ - if (s->pid <= 1) - fatal("session_close_by_channel: Unsafe s->pid = %d", s->pid); if (kill(s->pid, (s->ttyfd == -1) ? SIGTERM : SIGHUP) < 0) error("session_close_by_channel: kill %d: %s", s->pid, strerror(errno)); |