summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-02-28 05:36:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-02-28 05:36:29 +0000
commit77d7e6d352c2adb987b381d38319f23043bdc028 (patch)
tree9f4d5275f6267cb5b6d4a9e004177f0b627cf13f
parent7244f058fff3a34fce44ea6a18d3350703d17c2d (diff)
do not kill the subprocess on termination (we will see if this helps things
or hurts things)
-rw-r--r--usr.bin/ssh/sftp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c
index b4775c02f20..a1a5017ac85 100644
--- a/usr.bin/ssh/sftp.c
+++ b/usr.bin/ssh/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) */
@@ -249,9 +249,6 @@ main(int argc, char **argv)
close(in);
close(out);
- if (kill(sshpid, SIGHUP) == -1)
- fatal("Couldn't terminate ssh process: %s", strerror(errno));
-
if (waitpid(sshpid, NULL, 0) == -1)
fatal("Couldn't wait for ssh process: %s", strerror(errno));