DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43092>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43092 Summary: sshexec task fails intermittently for no apparent reason Product: Ant Version: 1.6.5 Platform: Sun OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] When using the sshexec task to run remote commands, I sometimes get the following error message: Remote command failed with exit status -1 Running the command manually through an ssh connection yields no error and an exit status of 0. Several other people have run into the same issue in this thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg28578.html There is a proposed patch included in the email thread that fixed the problem for some people. Hopefully we can get it into a future Ant release. For now I have to set failonerror=false in all of our sshexec calls. When there is a real error our scripts won't be able to detect it and handle it gracefully. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]