diff options
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | 26 | ||
27 | RCSID("$OpenBSD: sftp.c,v 1.7 2001/02/08 00:04:52 markus Exp $"); | 27 | RCSID("$OpenBSD: sftp.c,v 1.8 2001/02/28 05:36:28 deraadt Exp $"); |
28 | 28 | ||
29 | /* XXX: commandline mode */ | 29 | /* XXX: commandline mode */ |
30 | /* XXX: copy between two remote hosts (commandline) */ | 30 | /* XXX: copy between two remote hosts (commandline) */ |
@@ -254,11 +254,6 @@ main(int argc, char **argv) | |||
254 | close(in); | 254 | close(in); |
255 | close(out); | 255 | close(out); |
256 | 256 | ||
257 | #if !defined(HAVE_CYGWIN) | ||
258 | if (kill(sshpid, SIGHUP) == -1) | ||
259 | fatal("Couldn't terminate ssh process: %s", strerror(errno)); | ||
260 | #endif | ||
261 | |||
262 | if (waitpid(sshpid, NULL, 0) == -1) | 257 | if (waitpid(sshpid, NULL, 0) == -1) |
263 | fatal("Couldn't wait for ssh process: %s", strerror(errno)); | 258 | fatal("Couldn't wait for ssh process: %s", strerror(errno)); |
264 | 259 | ||