diff options
author | Matt Johnston <matt@ucc.asn.au> | 2008-09-17 14:35:36 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2008-09-17 14:35:36 +0000 |
commit | 72c0c39b202d089297e3bbb8f6962c0d5ae06c44 (patch) | |
tree | 73017c96e5b239d2ca3f040338a50db9648c8f73 /cli-main.c | |
parent | 432e1b158fb2c2d12c23eddc5f9fc12f4235ad7b (diff) | |
download | dropbear-72c0c39b202d089297e3bbb8f6962c0d5ae06c44.tar.gz |
Don't capture stderr from spawned processes in proxycommand mode
Diffstat (limited to 'cli-main.c')
-rw-r--r-- | cli-main.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |