Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
557a35f
)
Have do_delete_pass() immediately return if list_only is set.
author
Wayne Davison
<wayned@samba.org>
Fri, 13 May 2005 23:00:20 +0000
(23:00 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 13 May 2005 23:00:20 +0000
(23:00 +0000)
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
3a7dda3
..
deefff4
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-282,7
+282,8
@@
static void do_delete_pass(struct file_list *flist)
char fbuf[MAXPATHLEN];
int j;
- if (dry_run > 1) /* destination doesn't exist yet */
+ if (dry_run > 1 /* destination doesn't exist yet */
+ || list_only)
return;
for (j = 0; j < flist->count; j++) {