]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Don't look for $RSYNC_PARTIAL_DIR on the server side.
authorWayne Davison <wayned@samba.org>
Tue, 7 Feb 2006 19:12:37 +0000 (19:12 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 7 Feb 2006 19:12:37 +0000 (19:12 +0000)
options.c

index 30af80df0770ec2d3a8777a3c2028673e1c4089a..fd871b539af27bd7a6309b36fedad69298a7b2f0 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1362,7 +1362,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
                return 0;
 #endif
        } else {
-               if (keep_partial && !partial_dir) {
+               if (keep_partial && !partial_dir && !am_server) {
                        if ((arg = getenv("RSYNC_PARTIAL_DIR")) != NULL && *arg)
                                partial_dir = strdup(arg);
                }