mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
progress towards exiting on writefd closure rather than
on process exit - dbclient hangs with scp, so requires work. --HG-- extra : convert_revision : 2186a678a5f79ef432f6593a10e3e13df2a313d5
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user