From: Wayne Davison Date: Sat, 11 Oct 2008 18:11:10 +0000 (-0700) Subject: Fixed a glitch when using -s with a remote-shell daemon. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/b8fd528794bdfada7842a5e1ebf200f762a3001e Fixed a glitch when using -s with a remote-shell daemon. --- 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); }