Commit 251f22b5 authored by Wayne Davison's avatar Wayne Davison

Fixed a line-ordering problem.

parent 4e0fcd85
......@@ -252,8 +252,8 @@ static void delete_in_dir(struct file_list *flist, char *fbuf,
if (!dirlist->files[i]->basename)
continue;
if (flist_find(flist, dirlist->files[i]) < 0) {
f_name_to(dirlist->files[i], delbuf);
int mode = dirlist->files[i]->mode;
f_name_to(dirlist->files[i], delbuf);
if (delete_item(delbuf, mode, DEL_FORCE_RECURSE) < 0)
break;
}
......
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