From f1a6998df29f0f41f882edf11cb957df78aeb267 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 2 Jan 2022 23:51:04 -0800 Subject: [PATCH] Only send the `--no-W` kluge to a receiver. --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- 2.47.2