Commit f746dda0 authored by Wayne Davison's avatar Wayne Davison

Moved the call to do_hard_links() and the final directory-permissions

scan from recv_files() into generate_files().
parent 91a1e147
......@@ -479,18 +479,6 @@ int recv_files(int f_in,struct file_list *flist,char *local_name)
&& flist->count > 0)
delete_files(flist);
if (preserve_hard_links)
do_hard_links();
/* now we need to fix any directory permissions that were
* modified during the transfer */
for (i = 0; i < flist->count; i++) {
file = flist->files[i];
if (!file->basename || !S_ISDIR(file->mode)) continue;
recv_generator(local_name ? local_name : f_name_to(file, fbuf),
file, i, -1);
}
if (verbose > 2)
rprintf(FINFO,"recv_files finished\n");
......
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