Fixed a glitch when using -s with a remote-shell daemon.

This commit is contained in:
Wayne Davison
2008-10-11 11:11:10 -07:00
parent 0ea5d30479
commit b8fd528794

2
main.c
View File

@@ -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);
}