pom69 - 2009-08-19

How do you capture the return code of the program/script you are calling remotely using RSH?  RSH itself always seems to return zero regardless of whether the called program/script fails or not.  Thanks.