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 | c7bd9ccd8594c6646285e0df840a40bb9ab00d36 (patch) | |
tree | 73017c96e5b239d2ca3f040338a50db9648c8f73 /cli-main.c | |
parent | e44aa503f0b816adb1611f118c1c09877e7bb3d3 (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.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; |