Moved the read_batch abort check below the code that handles the

symlinks and devices.
This commit is contained in:
Wayne Davison
2004-07-17 16:29:10 +00:00
parent 1f75bb1066
commit d7142e2328

View File

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