Michael Wilson created JCLOUDS-1053:
---------------------------------------
Summary: jclouds-sshj doesn't handle getExitStatus returning null
Key: JCLOUDS-1053
URL: https://issues.apache.org/jira/browse/JCLOUDS-1053
Project: jclouds
Issue Type: Bug
Reporter: Michael Wilson
In the SshjSshClient ExecConnection.create function, this line:
{noformat}
int errorStatus = output.getExitStatus();
{noformat}
Does not currently handle the case when output.getExitStatus() is null, which
is a valid return value according to SSHJ's JavaDocs. It's possible that the
command needs to be explicitly closed before calling getExitStatus:
https://github.com/hierynomus/sshj/issues/114.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)