mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-22 13:54:16 -04:00
No need to forward --write-devices to a remote sender.
This commit is contained in:
1 parent
9e9d33a2db
commit
7e70e4842b
1 file changed
+1
-1
@@ -2819,7 +2819,7 @@ void server_options(char **args, int *argc_p)
|
||||
if (relative_paths && !implied_dirs && (!am_sender || protocol_version >= 30))
|
||||
args[ac++] = "--no-implied-dirs";
|
||||
|
||||
if (write_devices)
|
||||
if (write_devices && am_sender)
|
||||
args[ac++] = "--write-devices";
|
||||
|
||||
if (remove_source_files == 1)
|
||||
|
||||
Reference in new issue
Block a user