Commit 68795c64 authored by Wayne Davison's avatar Wayne Davison

If a --delay-update can't use the partial-dir (e.g. if a server

daemon excludes the dir or file), update the file without delay.
parent 4f1f94d1
......@@ -514,7 +514,7 @@ int recv_files(int f_in, struct file_list *flist, char *local_name,
exit_cleanup(RERR_FILEIO);
}
if ((recv_ok && !delay_updates) || inplace) {
if ((recv_ok && (!delay_updates || !partialptr)) || inplace) {
finish_transfer(fname, fnametmp, file, recv_ok, 1);
if (partialptr != fname && fnamecmp == partialptr) {
do_unlink(partialptr);
......
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