[sftp.c]
     do not kill the subprocess on termination (we will see if this helps
     things or hurts things)
This commit is contained in:
Ben Lindstrom 2001-03-05 06:12:01 +00:00
parent 069090128c
commit ec19a40b94
2 changed files with 6 additions and 7 deletions

View File

@ -61,6 +61,10 @@
- deraadt@cvs.openbsd.org 2001/02/28 05:34:28
[misc.c]
pull in protos
- deraadt@cvs.openbsd.org 2001/02/28 05:36:28
[sftp.c]
do not kill the subprocess on termination (we will see if this helps
things or hurts things)
20010304
- (bal) Remove make-ssh-known-hosts.1 since it's no longer valid.
@ -4253,4 +4257,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.869 2001/03/05 06:09:31 mouring Exp $
$Id: ChangeLog,v 1.870 2001/03/05 06:12:01 mouring Exp $

7
sftp.c
View File

@ -24,7 +24,7 @@
#include "includes.h"
RCSID("$OpenBSD: sftp.c,v 1.7 2001/02/08 00:04:52 markus Exp $");
RCSID("$OpenBSD: sftp.c,v 1.8 2001/02/28 05:36:28 deraadt Exp $");
/* XXX: commandline mode */
/* XXX: copy between two remote hosts (commandline) */
@ -254,11 +254,6 @@ main(int argc, char **argv)
close(in);
close(out);
#if !defined(HAVE_CYGWIN)
if (kill(sshpid, SIGHUP) == -1)
fatal("Couldn't terminate ssh process: %s", strerror(errno));
#endif
if (waitpid(sshpid, NULL, 0) == -1)
fatal("Couldn't wait for ssh process: %s", strerror(errno));