mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-11 02:48:35 -04:00
Should always call finish_transfer() for inplace handling, just like
for keep_partial handling.
This commit is contained in:
@@ -544,7 +544,7 @@ int recv_files(int f_in, struct file_list *flist, char *local_name)
|
||||
exit_cleanup(RERR_FILEIO);
|
||||
}
|
||||
|
||||
if (recv_ok || keep_partial)
|
||||
if (recv_ok || keep_partial || inplace)
|
||||
finish_transfer(fname, fnametmp, file, recv_ok);
|
||||
else
|
||||
do_unlink(fnametmp);
|
||||
|
||||
Reference in New Issue
Block a user