summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-03-05 06:12:01 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-03-05 06:12:01 +0000
commitec19a40b94f8d229a283720ad72324d9eed32f86 (patch)
tree1a9760aa3e17ee8d6fdccbc04f570c0f67065cd7 /sftp.c
parent069090128c58d4cb7de488f2dfb3895661c59724 (diff)
- 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)
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sftp.c b/sftp.c
index 0fba6749..16a2616a 100644
--- a/sftp.c
+++ b/sftp.c
@@ -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));