We only need to send --stats to a remote receiver now.
This commit is contained in:
@@ -2368,9 +2368,6 @@ void server_options(char **args, int *argc_p)
|
|||||||
if (protect_args && !local_server) /* unprotected args stop here */
|
if (protect_args && !local_server) /* unprotected args stop here */
|
||||||
args[ac++] = NULL;
|
args[ac++] = NULL;
|
||||||
|
|
||||||
if (do_stats)
|
|
||||||
args[ac++] = "--stats";
|
|
||||||
|
|
||||||
if (list_only > 1)
|
if (list_only > 1)
|
||||||
args[ac++] = "--list-only";
|
args[ac++] = "--list-only";
|
||||||
|
|
||||||
@@ -2472,6 +2469,8 @@ void server_options(char **args, int *argc_p)
|
|||||||
args[ac++] = "--super";
|
args[ac++] = "--super";
|
||||||
if (size_only)
|
if (size_only)
|
||||||
args[ac++] = "--size-only";
|
args[ac++] = "--size-only";
|
||||||
|
if (do_stats)
|
||||||
|
args[ac++] = "--stats";
|
||||||
} else {
|
} else {
|
||||||
if (skip_compress) {
|
if (skip_compress) {
|
||||||
if (asprintf(&arg, "--skip-compress=%s", skip_compress) < 0)
|
if (asprintf(&arg, "--skip-compress=%s", skip_compress) < 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user