[Bug 369] Inconsistant exiit status from scp
Nicolas.Williams at ubsw.com
Nicolas.Williams at ubsw.com
Wed Sep 11 04:26:38 EST 2002
The only hang-on-exit problem left, that I know of, is the Solaris-
/bin/csh-doesn't-HUP-its-bg-procs-when-exiting problem, and that is
relevant only to pty sessions. SCP does not use pty sessions,
therefore this hang-on-exit problem won't bite an scp that wait()s
for its ssh child process.
Cheers,
Nico
--
> -----Original Message-----
> From: Thomas Binder [mailto:binder at arago.de]
> Sent: Tuesday, September 10, 2002 1:37 PM
> To: openssh-unix-dev at mindrot.org
> Subject: Re: [Bug 369] Inconsistant exiit status from scp
>
>
> Hi!
>
> > ------- Additional Comments From markus at openbsd.org
> 2002-09-10 22:45 -------
> > do you have a patch for checking the exit status of ssh?
>
> I attached a rough patch for that. It probably (I haven't been
> able to check) has one drawback, though: If the remote sshd has
> the "scp hangs on exit" problem, then the patched local scp will
> now do so, too.
>
> Besides, the patch also adds a check for fork() returning an
> error.
>
>
> Ciao
>
> Thomas
>
Visit our website at http://www.ubswarburg.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
More information about the openssh-unix-dev
mailing list