[ 
https://issues.apache.org/jira/browse/JCLOUDS-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ignasi Barrera resolved JCLOUDS-1053.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

> 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
>          Components: jclouds-drivers
>    Affects Versions: 1.9.2
>            Reporter: Michael Wilson
>              Labels: sshj
>             Fix For: 2.0.0
>
>
> 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)

Reply via email to