X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e7d6e0aa0cf1428d195df010f84cbada19fc98d1..cda2ae84b3b0f78387c5937094b4f5525c92fc19:/receiver.c diff --git a/receiver.c b/receiver.c index 6eb9acab..49d1bf22 100644 --- a/receiver.c +++ b/receiver.c @@ -109,11 +109,12 @@ static void delete_files(struct file_list *flist) struct file_list *local_file_list; int i, j; char *name; + extern int module_id; if (cvs_exclude) add_cvs_excludes(); - if (io_error) { + if (io_error && !lp_ignore_errors(module_id)) { rprintf(FINFO,"IO error encountered - skipping file deletion\n"); return; }