From: Wayne Davison Date: Wed, 22 Dec 2004 09:10:08 +0000 (+0000) Subject: If we send --files-from to the remote server and relative-paths X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/c0ab28d1d9bf3ba10822c50a480e4c27ee2af3da If we send --files-from to the remote server and relative-paths are not enabled, we need to also send --no-relative. --- diff --git a/options.c b/options.c index e79f56f9..70e210dc 100644 --- a/options.c +++ b/options.c @@ -1236,6 +1236,8 @@ void server_options(char **args,int *argc) args[ac++] = "--files-from=-"; args[ac++] = "--from0"; } + if (!relative_paths) + args[ac++] = "--no-relative"; } *argc = ac;