Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85d4d14
)
Clearer error messages.
author
Martin Pool
<mbp@samba.org>
Fri, 14 Dec 2001 02:16:20 +0000
(
02:16
+0000)
committer
Martin Pool
<mbp@samba.org>
Fri, 14 Dec 2001 02:16:20 +0000
(
02:16
+0000)
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
b3b7f19
..
ef40470
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-207,7
+207,7
@@
void recv_generator(char *fname,struct file_list *flist,int i,int f_out)
rprintf(FINFO,"recv_generator(%s,%d)\n",fname,i);
statret = link_stat(fname,&st);
-read
+
if (only_existing && statret == -1 && errno == ENOENT) {
/* we only want to update existing files */
if (verbose > 1) rprintf(FINFO, RSYNC_NAME