summaryrefslogtreecommitdiff
path: root/receiver.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-07-22 02:52:57 +0000
committerWayne Davison <wayned@samba.org>2004-07-22 02:52:57 +0000
commite76ca1458cb78ff899a684deb190aa2bd36c11a7 (patch)
treeac251a33e88a1a4a3a924b5a8a295f583e7668f7 /receiver.c
parent16cc9ca2c956dc62f5312760cb420bf55d85364a (diff)
downloadrsync-e76ca1458cb78ff899a684deb190aa2bd36c11a7.tar.gz
rsync-e76ca1458cb78ff899a684deb190aa2bd36c11a7.tar.bz2
rsync-e76ca1458cb78ff899a684deb190aa2bd36c11a7.zip
No need to check both delete_after and delete_mode since the former
implies the latter.
Diffstat (limited to 'receiver.c')
-rw-r--r--receiver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/receiver.c b/receiver.c
index fab410b5..fcde60f8 100644
--- a/receiver.c
+++ b/receiver.c
@@ -566,8 +566,7 @@ int recv_files(int f_in, struct file_list *flist, char *local_name)
}
make_backups = save_make_backups;
- if (delete_after && recurse && delete_mode && !local_name
- && flist->count > 0)
+ if (delete_after && recurse && !local_name && flist->count > 0)
delete_files(flist);
if (verbose > 2)