Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When a file cannot be deleted because of ETXTBSY (in particular, when an
[rsync/rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index
1be4717
..
8b0eeab
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-182,7
+182,7
@@
void recv_generator(char *fname,struct file_list *flist,int i,int f_out)
if (S_ISDIR(file->mode)) {
if (dry_run) return;
if (statret == 0 && !S_ISDIR(st.st_mode)) {
- if (
do
_unlink(fname) != 0) {
+ if (
robust
_unlink(fname) != 0) {
rprintf(FERROR,"unlink %s : %s\n",fname,strerror(errno));
return;
}