From b8fd528794bdfada7842a5e1ebf200f762a3001e Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 11 Oct 2008 11:11:10 -0700 Subject: [PATCH] Fixed a glitch when using -s with a remote-shell daemon. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index b9a939b3..0f160067 100644 --- a/main.c +++ b/main.c @@ -469,7 +469,7 @@ static pid_t do_cmd(char *cmd, char *machine, char *user, char **remote_argv, in #ifdef ICONV_CONST setup_iconv(); #endif - if (protect_args) + if (protect_args && !daemon_over_rsh) send_protected_args(*f_out_p, args); } -- 2.34.1