- (stevesk) session.c: remove debugging code.

This commit is contained in:
Kevin Steves 2001-02-12 15:07:52 +00:00
parent 603bdfd602
commit 7f982bf6c9
2 changed files with 2 additions and 3 deletions

View File

@ -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 $

View File

@ -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));