to the f_out pipe before we return from recv_generator(). This gives
the receiver something to sync with so that it doesn't rush ahead of
us (which could be bad if we didn't have a chance to create the
destination dirs yet).
}
#endif
- if (read_batch)
- return;
-
if (preserve_hard_links && hard_link_check(file, HL_CHECK_MASTER))
return;
return;
if (errno == ENOENT) {
write_int(f_out,i);
- if (!dry_run)
+ if (!dry_run && !read_batch)
write_sum_head(f_out, NULL);
} else if (verbose > 1) {
rsyserr(FERROR, errno,
if (preserve_hard_links && hard_link_check(file, HL_SKIP))
return;
write_int(f_out,i);
- if (!dry_run)
+ if (!dry_run && !read_batch)
write_sum_head(f_out, NULL);
return;
}
return;
}
- if (dry_run) {
+ if (dry_run || read_batch) {
write_int(f_out,i);
return;
}