Commit 1f56188f authored by Wayne Davison's avatar Wayne Davison

Can just test ignore_errors w/o lp_ignore_errors(module_id) now.

parent 3162ea6f
......@@ -1436,7 +1436,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
send_uid_list(f);
/* send the io_error flag */
write_int(f, lp_ignore_errors(module_id) ? 0 : io_error);
write_int(f, ignore_errors ? 0 : io_error);
io_end_buffering();
stats.flist_size = stats.total_written - start_write;
......@@ -1505,7 +1505,7 @@ struct file_list *recv_file_list(int f)
recv_uid_list(f, flist);
/* Recv the io_error flag */
if (lp_ignore_errors(module_id) || ignore_errors)
if (ignore_errors)
read_int(f);
else
io_error |= read_int(f);
......
......@@ -433,7 +433,7 @@ static void delete_in_dir(struct file_list *flist, char *fbuf,
if (F_DEPTH(file) >= MAXPATHLEN/2+1)
return; /* Impossible... */
if (io_error && !(lp_ignore_errors(module_id) || ignore_errors)) {
if (io_error && !ignore_errors) {
if (already_warned)
return;
rprintf(FINFO,
......
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