mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-02-07 05:31:01 -05:00
Moved the read_batch abort check below the code that handles the
symlinks and devices.
This commit is contained in:
@@ -330,9 +330,6 @@ static void recv_generator(char *fname, struct file_struct *file, int i,
|
||||
return;
|
||||
}
|
||||
|
||||
if (read_batch)
|
||||
return;
|
||||
|
||||
if (preserve_links && S_ISLNK(file->mode)) {
|
||||
#if SUPPORT_LINKS
|
||||
char lnk[MAXPATHLEN];
|
||||
@@ -401,6 +398,9 @@ static void recv_generator(char *fname, struct file_struct *file, int i,
|
||||
}
|
||||
#endif
|
||||
|
||||
if (read_batch)
|
||||
return;
|
||||
|
||||
if (preserve_hard_links && hard_link_check(file, HL_CHECK_MASTER))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user