Browse Source

Compile, then commit!

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274360 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
79d5993c29
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

@@ -170,7 +170,7 @@ public class SSHExec extends SSHBase {
try {
// execute the command
Session session = openSession();
session.setTimeout(maxwait);
session.setTimeout((int) maxwait);
final ChannelExec channel=(ChannelExec) session.openChannel("exec");
channel.setCommand(command);
channel.setOutputStream(tee);


Loading…
Cancel
Save