Commit e76ca145 authored by Wayne Davison's avatar Wayne Davison

No need to check both delete_after and delete_mode since the former

implies the latter.
parent 16cc9ca2
......@@ -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)
......
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