Skip to content

Commit 264509c

Browse files
committed
Revert "Fix ssh not exiting when sftp ends"
This reverts commit 2ee6bd1.
1 parent 2ee6bd1 commit 264509c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channels.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1686,7 +1686,7 @@ channel_handle_rfd(Channel *c, fd_set *readset, fd_set *writeset)
16861686
errno = 0;
16871687
len = read(c->rfd, buf, sizeof(buf));
16881688
#ifdef WIN32_FIXME
1689-
if ( c->isatty && len == 0 )
1689+
if (len == 0)
16901690
return 1; // in Win32 console read, there may be no data, but is ok
16911691
#endif
16921692
if (len < 0 && (errno == EINTR ||

0 commit comments

Comments
 (0)