ersh does (was: rsh does not pass back return code)

Silver gaynor at busboys.rutgers.edu
Wed Dec 6 22:26:00 AEST 1989


shaw at paralogics.uucp writes:
> [rsh's return code is simply indicates whether a connection could be
>  established or not?!]

As far as I can tell, you are essentially correct.  Tremendous pain in the ass.
You really have to bend over backwards to get the return value - perhaps put it
on the last line of stdout or stderr, and take it from there locally.

Regards, [Ag]



More information about the Comp.unix.wizards mailing list