If we send --files-from to the remote server and relative-paths
[rsync/rsync.git] / options.c
index e79f56f..70e210d 100644 (file)
--- 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;