X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e6ffb966ddafc5be6f840e1e09955e773d54b2bd..120cde95629a395f4cc737c68bb9b587cd1051ae:/options.c?ds=sidebyside 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; }