From: Wayne Davison Date: Sat, 4 Jun 2011 20:04:46 +0000 (-0700) Subject: Only skip deletions on IOERR_GENERAL. Fixes bug 7809. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/4591bb2f6651cf8efd707b6b815a3d62a1c9c418?hp=810dc9fc2ae375a52abd4a4e0027311fdf3046a6 Only skip deletions on IOERR_GENERAL. Fixes bug 7809. --- diff --git a/generator.c b/generator.c index cd7abda2..b8d930e6 100644 --- a/generator.c +++ b/generator.c @@ -288,7 +288,7 @@ static void delete_in_dir(char *fbuf, struct file_struct *file, dev_t *fs_dev) if (allowed_lull) maybe_send_keepalive(time(NULL), MSK_ALLOW_FLUSH); - if (io_error && !ignore_errors) { + if (io_error & IOERR_GENERAL && !ignore_errors) { if (already_warned) return; rprintf(FINFO,