Browse Source

-use isClosed instead of isEOF, bugzilla #43092

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@575511 13f79535-47bb-0310-9956-ffa450edef68
master
Kevin Jackson 18 years ago
parent
commit
60eb01908b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java View File

@@ -187,7 +187,7 @@ public class SSHExec extends SSHBase {
thread =
new Thread() {
public void run() {
while (!channel.isEOF()) {
while (!channel.isClosed()) {
if (thread == null) {
return;
}


Loading…
Cancel
Save