X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/557a35f55bf4cb99f5cce1d966598e11c03318cc..b225b089b8e7ec1fbed235ba743a2cbd2b540c30:/generator.c diff --git a/generator.c b/generator.c index 3a7dda3b..deefff4e 100644 --- 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++) {