We should bump the deletion_count for backed-up deleted files too.
[rsync/rsync.git] / receiver.c
index 152c985..a46fafe 100644 (file)
@@ -164,8 +164,8 @@ void delete_files(struct file_list *flist)
                                } else {
                                        int mode = local_file_list->files[i]->mode;
                                        delete_one(f, S_ISDIR(mode) != 0);
-                                       deletion_count++;
                                }
+                               deletion_count++;
                        }
                }
                flist_free(local_file_list);