Commit df50964
committed
Fix regression issue of ssh not exiting after sftp client ends
Add smarter logic when reading 0 bytes is ok (only when tty console read
)1 parent 3a660dc commit df50964
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
1686 | 1687 | | |
1687 | 1688 | | |
1688 | 1689 | | |
1689 | | - | |
| 1690 | + | |
| 1691 | + | |
1690 | 1692 | | |
| 1693 | + | |
1691 | 1694 | | |
1692 | 1695 | | |
1693 | 1696 | | |
| |||
0 commit comments