I need to execute two commands with sshexec.

<sshexec host="host"
         username="username"
         password="password"
         command="cmd1; cmd2"
         trust="yes"/>

How can I get sshexec to fail when the first command fails?

Later,
BEDick

Reply via email to