summaryrefslogtreecommitdiff
path: root/session.c
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 /session.c
parent603bdfd602f2004d74c39dbab8142f19af6087dd (diff)
- (stevesk) session.c: remove debugging code.
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 0 insertions, 2 deletions
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));