DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19237>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19237

SSHExec task should fail if remote command fails





------- Additional Comments From [EMAIL PROTECTED]  2003-08-24 22:43 -------
This looks to me to be a deficiency in the underlying jsch API. The code is in
that library to get the exit status (there's a commented out System.out.println
for the proper exit status in the Session.java file where they handle the ssh
exit_status message), but it seems to be thrown away with no way to return it to
the caller.

This is probably not too hard to fixup, but it does require (I think) modifying
the jsch library.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to