title: Jsch error return codes not consistent
body: <p>I am using the nice <a href="http://www.jcraft.com/jsch/" rel="nofollow noreferrer">http://www.jcraft.com/jsch/</a> library - however when I run some commands, I see that jsch returns a getExitStatus of -1, from time to time, even though the script ran fine (when I run it by hand it is consistently a successful 0 exit code). Any ideas?</p>
  
  <p>(seems to happen to a wide variety of commands)</p>