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/d8e8ef323adc05cc879ef06a9ced41816557ef00 Fixed a glitch when using -s with a remote-shell daemon. --- 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); }