mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-21 05:14:15 -04:00
Should always call finish_transfer() for inplace handling, just like
for keep_partial handling.
This commit is contained in:
1 parent
077e59b769
commit
9bccfc429c
1 file changed
+1
-1
+1
-1
@@ -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