From: Wayne Davison Date: Tue, 21 Jul 2020 18:22:24 +0000 (-0700) Subject: Don't create a path for a file marked as missing. X-Git-Tag: v3.2.3pre1~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f74473b15141416be399018b019340c82d3657ea;p=thirdparty%2Frsync.git Don't create a path for a file marked as missing. --- diff --git a/generator.c b/generator.c index adb3307c..96a36bea 100644 --- a/generator.c +++ b/generator.c @@ -1290,7 +1290,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, exit_cleanup(RERR_PROTOCOL); } } - if (relative_paths && !implied_dirs + if (relative_paths && !implied_dirs && file->mode != 0 && do_stat(dn, &sx.st) < 0) { if (dry_run) goto parent_is_dry_missing;