summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options.c')
-rw-r--r--options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/options.c b/options.c
index fdc9af7a..8d6c124e 100644
--- a/options.c
+++ b/options.c
@@ -2072,6 +2072,9 @@ void server_options(char **args, int *argc_p)
else if (remove_source_files)
args[ac++] = "--remove-sent-files";
+ if (use_fallocate && am_sender)
+ args[ac++] = "--fallocate";
+
if (ac > MAX_SERVER_ARGS) { /* Not possible... */
rprintf(FERROR, "argc overflow in server_options().\n");
exit_cleanup(RERR_MALLOC);