You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Michael Wilson (JIRA)" <ji...@apache.org> on 2016/01/08 21:57:39 UTC
[jira] [Created] (JCLOUDS-1053) jclouds-sshj doesn't handle
getExitStatus returning null
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)