Don't look for $RSYNC_PARTIAL_DIR on the server side.

This commit is contained in:
Wayne Davison
2006-02-07 19:12:37 +00:00
parent 2243a9353e
commit bc880cb8d2

View File

@@ -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);
}