File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ extern int backup_dir_len;
89
89
extern int basis_dir_cnt ;
90
90
extern int default_af_hint ;
91
91
extern int stdout_format_has_i ;
92
+ extern int trust_sender_filter ;
93
+ extern int trust_sender_args ;
92
94
extern struct stats stats ;
93
95
extern char * stdout_format ;
94
96
extern char * logfile_format ;
@@ -1471,8 +1473,10 @@ static int start_client(int argc, char *argv[])
1471
1473
}
1472
1474
1473
1475
/* A local transfer doesn't unbackslash anything, so leave the args alone. */
1474
- if (local_server )
1476
+ if (local_server ) {
1475
1477
old_style_args = 2 ;
1478
+ trust_sender_args = trust_sender_filter = 1 ;
1479
+ }
1476
1480
1477
1481
if (!rsync_port && remote_argc && !* * remote_argv ) /* Turn an empty arg into a dot dir. */
1478
1482
* remote_argv = "." ;
You can’t perform that action at this time.
0 commit comments