diff options
author | Matt Johnston <matt@ucc.asn.au> | 2007-02-03 08:10:09 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2007-02-03 08:10:09 +0000 |
commit | 5acf7a6aaa9c0d4f43825945b0d2552246d22f13 (patch) | |
tree | e05126102c0f106ea1572a73e5b84d935129fda5 /svr-chansession.c | |
parent | 5092e30605dfc5c45990d91cf606990e5c768255 (diff) |
disapproval of revision '1250b8af44b62d8f4fe0f8d9fc7e7a1cc34e7e1c'
--HG--
branch : channel-fix
extra : convert_revision : 275426b7a4b94a0507c78327f86bcd2cd0b0f985
Diffstat (limited to 'svr-chansession.c')
-rw-r--r-- | svr-chansession.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svr-chansession.c b/svr-chansession.c index 605bb60..fed8240 100644 --- a/svr-chansession.c +++ b/svr-chansession.c @@ -67,8 +67,7 @@ static void get_termmodes(struct ChanSess *chansess); extern char** environ; static int sesscheckclose(struct Channel *channel) { - struct ChanSess *chansess = (struct ChanSess*)channel->typedata; - return chansess->exit.exitpid >= 0; + return channel->writefd == -1; } /* Handler for childs exiting, store the state for return to the client */ |