]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Should always call finish_transfer() for inplace handling, just like
authorWayne Davison <wayned@samba.org>
Thu, 22 Jul 2004 15:31:06 +0000 (15:31 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 22 Jul 2004 15:31:06 +0000 (15:31 +0000)
for keep_partial handling.

receiver.c

index 50fe2e5e1393d260df0d72f1b92a95d8fa3ae909..e50f5564d61212926bfd5bbc3c863de5f17ee57f 100644 (file)
@@ -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);