Commit d7142e23 authored by Wayne Davison's avatar Wayne Davison

Moved the read_batch abort check below the code that handles the

symlinks and devices.
parent 1f75bb10
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment