mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-05 09:09:38 +00:00
- (stevesk) session.c: remove debugging code.
This commit is contained in:
parent
603bdfd602
commit
7f982bf6c9
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user