Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a typo that Andrea Gelmini pointed out.
[rsync/rsync.git]
/
delete.c
diff --git
a/delete.c
b/delete.c
index
33fdd0e
..
fcdf86b
100644
(file)
--- a/
delete.c
+++ b/
delete.c
@@
-170,7
+170,7
@@
enum delret delete_item(char *fbuf, uint16 mode, uint16 flags)
what = "rmdir";
ok = do_rmdir(fbuf) == 0;
} else {
what = "rmdir";
ok = do_rmdir(fbuf) == 0;
} else {
- if (make_backups > 0 && (backup_dir || !is_backup_file(fbuf))) {
+ if (make_backups > 0 &&
!(flags & DEL_FOR_BACKUP) &&
(backup_dir || !is_backup_file(fbuf))) {
what = "make_backup";
ok = make_backup(fbuf, True);
if (ok == 2) {
what = "make_backup";
ok = make_backup(fbuf, True);
if (ok == 2) {