From d8e8ef323adc05cc879ef06a9ced41816557ef00 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 2a44cf8a..f825b6c7 100644 --- a/main.c +++ b/main.c @@ -528,7 +528,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