From: Wayne Davison Date: Mon, 3 Jan 2022 07:51:04 +0000 (-0800) Subject: Only send the `--no-W` kluge to a receiver. X-Git-Tag: v3.2.4pre2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1a6998df29f0f41f882edf11cb957df78aeb267;p=thirdparty%2Frsync.git Only send the `--no-W` kluge to a receiver. --- diff --git a/options.c b/options.c index f4c159f3..75165adf 100644 --- a/options.c +++ b/options.c @@ -2834,7 +2834,7 @@ void server_options(char **args, int *argc_p) } else if (inplace) { args[ac++] = "--inplace"; /* Work around a bug in older rsync versions (on the remote side) for --inplace --sparse */ - if (sparse_files && !whole_file) + if (sparse_files && !whole_file && am_sender) args[ac++] = "--no-W"; }