try again
This commit is contained in:
parent
8e6667ed4f
commit
274c556d6d
3
main.c
3
main.c
@ -414,6 +414,9 @@ static int ssh_copy_fd_to_chan(socket_t fd, int revents, void *userdata) {
|
||||
int sz = 0;
|
||||
|
||||
if(!chan) {
|
||||
if (mynode != 0) {
|
||||
disconnect("Channel Closed");
|
||||
}
|
||||
close(fd);
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user