Mercurial > dropbear
diff cli-main.c @ 484:effb4a25b1ae
Don't capture stderr from spawned processes in proxycommand mode
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 17 Sep 2008 14:35:36 +0000 |
parents | 738313e73b1c |
children | c9128994a2d6 |
line wrap: on
line diff
--- a/cli-main.c Mon Sep 15 14:40:30 2008 +0000 +++ b/cli-main.c Wed Sep 17 14:35:36 2008 +0000 @@ -134,13 +134,11 @@ 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;