summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-02-12 15:07:52 +0000
committerKevin Steves <stevesk@pobox.com>2001-02-12 15:07:52 +0000
commit7f982bf6c93ee7ab3426a059af51d21663ed36f0 (patch)
treeb297d24b9822118e5cdc9823ca17a8777b08123c
parent603bdfd602f2004d74c39dbab8142f19af6087dd (diff)
- (stevesk) session.c: remove debugging code.
-rw-r--r--ChangeLog3
-rw-r--r--session.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e47cb2c..afec2dbb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
diff --git a/session.c b/session.c
index d1870918..9b860c29 100644
--- a/session.c
+++ b/session.c
@@ -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));