mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-18 14:27:40 -04:00
No need to forward --write-devices to a remote sender.
This commit is contained in:
@@ -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