Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ucbvax!ucsfcgl!maxwell.mmwb.ucsf.edu!rodgers From: rodgers@maxwell.mmwb.ucsf.edu (R. P. C. Rodgers, M.D.) Newsgroups: comp.unix.shell Subject: how to force rsh to exit with status of remote command Message-ID: <18999@cgl.ucsf.EDU> Date: 3 Jun 91 05:50:05 GMT Sender: daemon@cgl.ucsf.edu Reply-To: rodgers@maxwell.mmwb.ucsf.edu (R. P. C. Rodgers, M.D.) Organization: Univ. of Calif., San Francisco Lines: 15 Dear Fellow Netlanders, Reading the manual pages concerned with rsh and experimentation thus far fail to show how rsh can be made to exit with the status of the command it is executing on a remote host (if indeed this is possible...). The rsh always seems to exit with a status of 0, even if the command on the remote hosts fails. Thanks in advance for any pointers/solutions. Cheerio, Rick Rodgers R. P. C. Rodgers, M.D. (415)476-2957 (work) 664-0560 (home) UCSF Laurel Heights Campus UUCP: ...ucbvax.berkeley.edu!cca.ucsf.edu!rodgers 3333 California St., Suite 102 Internet: rodgers@maxwell.mmwb.ucsf.edu San Francisco CA 94118 USA BITNET: rodgers@ucsfcca