There is no concept of a command exit code in a currently shipping release. Rsh returns based on the success of the rsh call itself. We are considering moving toward making the return result of the last executed command be available via a special "result" command or something like that, but most commands don't currently return anything.
Alan
=============================================================== Alan G. Yoder agy@netapp.com ===============================================================