From 120cde95629a395f4cc737c68bb9b587cd1051ae Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 29 Jan 2006 07:19:38 +0000 Subject: [PATCH] Avoid forwarding the --temp-dir option to the server when we're the receiver. --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.c b/options.c index 2d09017f..bbec3e83 100644 --- a/options.c +++ b/options.c @@ -1684,7 +1684,7 @@ void server_options(char **args,int *argc) else if (inplace) args[ac++] = "--inplace"; - if (tmpdir) { + if (tmpdir && am_sender) { args[ac++] = "--temp-dir"; args[ac++] = tmpdir; } -- 2.34.1