mirror of https://github.com/apache/jclouds.git
jsch error stream wasn't being extracted into a string
This commit is contained in:
parent
c9e63f98ab
commit
76abbe8906
|
@ -417,7 +417,7 @@ public class JschSshClient implements SshClient {
|
|||
executor = acquire(execConnection(command));
|
||||
try {
|
||||
String outputString = Strings2.toStringAndClose(executor.getInputStream());
|
||||
String errorString = executor.getErrStream().toString();
|
||||
String errorString = Strings2.toStringAndClose(executor.getErrStream());
|
||||
int errorStatus = executor.getExitStatus();
|
||||
int i = 0;
|
||||
String message = String.format("bad status -1 %s", toString());
|
||||
|
|
Loading…
Reference in New Issue