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-28 14:37 -------
That's a good point about exit codes; I've probably seen some individual
commands  on more common OS's before that do strange things with exit codes. How
about if an attribute was added to the task that just defaulted to zero but
allowed the user to override what exit code constituted a success like
"successcode=0" or =1, or =127, or whatever makes sense for the command/OS that
you are using?

Patch for code (SSHExec.java) and documentation (sshexec.html) included if
interested.

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

Reply via email to