Commit b225b089 authored by Wayne Davison's avatar Wayne Davison

Have do_delete_pass() immediately return if list_only is set.

parent 557a35f5
...@@ -282,7 +282,8 @@ static void do_delete_pass(struct file_list *flist) ...@@ -282,7 +282,8 @@ static void do_delete_pass(struct file_list *flist)
char fbuf[MAXPATHLEN]; char fbuf[MAXPATHLEN];
int j; int j;
if (dry_run > 1) /* destination doesn't exist yet */ if (dry_run > 1 /* destination doesn't exist yet */
|| list_only)
return; return;
for (j = 0; j < flist->count; j++) { for (j = 0; j < flist->count; j++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment