diff options
Diffstat (limited to 'lib/src/main/java/com')
-rw-r--r-- | lib/src/main/java/com/trilead/ssh2/channel/ChannelManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/src/main/java/com/trilead/ssh2/channel/ChannelManager.java b/lib/src/main/java/com/trilead/ssh2/channel/ChannelManager.java index 74906d3..e582a52 100644 --- a/lib/src/main/java/com/trilead/ssh2/channel/ChannelManager.java +++ b/lib/src/main/java/com/trilead/ssh2/channel/ChannelManager.java @@ -698,7 +698,8 @@ public class ChannelManager implements MessageHandler }
try {
- waitForChannelSuccessOrFailure(c);
+ //waitForChannelSuccessOrFailure(c);
+ this.waitForChannelRequestResult(c);
} catch (IOException e) {
throw (IOException) new IOException("PTY request failed")
.initCause(e);
|