The cleanup_set() call was not getting called w/o --partial.
[rsync.git] / receiver.c
index 9a8c2af82c1cb7b284a9697c56d7394937ffa15c..80ee8982646697404b582823b5b4ee3d8ae9abc1 100644 (file)
@@ -591,8 +591,7 @@ int recv_files(int f_in, struct file_list *flist, char *local_name)
                                continue;
                        }
 
-                       if (keep_partial)
-                               cleanup_set(fnametmp, partialptr, file, fd1, fd2);
+                       cleanup_set(fnametmp, partialptr, file, fd1, fd2);
                }
 
                /* log the transfer */