summaryrefslogtreecommitdiffhomepage
path: root/cli-main.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-09-17 14:35:36 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-09-17 14:35:36 +0000
commitc7bd9ccd8594c6646285e0df840a40bb9ab00d36 (patch)
tree73017c96e5b239d2ca3f040338a50db9648c8f73 /cli-main.c
parente44aa503f0b816adb1611f118c1c09877e7bb3d3 (diff)
Don't capture stderr from spawned processes in proxycommand mode
--HG-- extra : convert_revision : 636506b73e973b004cc058b07e6f36a25ff902f8
Diffstat (limited to 'cli-main.c')
-rw-r--r--cli-main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cli-main.c b/cli-main.c
index 2d9f1c8..4ba43c0 100644
--- a/cli-main.c
+++ b/cli-main.c
@@ -134,13 +134,11 @@ static void exec_proxy_cmd(void *user_data_cmd) {
static void cli_proxy_cmd(int *sock_in, int *sock_out) {
int ret;
- int errfd;
- pid_t pid;
fill_passwd(cli_opts.own_user);
ret = spawn_command(exec_proxy_cmd, cli_opts.proxycmd,
- sock_out, sock_in, &errfd, &pid);
+ sock_out, sock_in, NULL, NULL);
if (ret == DROPBEAR_FAILURE) {
dropbear_exit("Failed running proxy command");
*sock_in = *sock_out = -1;