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:
378a074
)
fixed the error code problem with test.sh
author
Andrew Tridgell
<tridge@samba.org>
Thu, 27 Jan 2000 04:53:39 +0000
(
04:53
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 27 Jan 2000 04:53:39 +0000
(
04:53
+0000)
(was a minor bug in send_file_list)
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
2dcbe75
..
1740209
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-436,7
+436,7
@@
struct file_struct *make_file(int f, char *fname)
if (readlink_stat(fname,&st,linkbuf) != 0) {
io_error = 1;
- rprintf(FERROR,"%s: %s\n",
+ rprintf(FERROR,"
readlink
%s: %s\n",
fname,strerror(errno));
return NULL;
}
@@
-673,8
+673,10
@@
struct file_list *send_file_list(int f,int argc,char *argv[])
}
if (link_stat(fname,&st) != 0) {
- io_error=1;
- rprintf(FERROR,"%s : %s\n",fname,strerror(errno));
+ if (f != -1) {
+ io_error=1;
+ rprintf(FERROR,"link_stat %s : %s\n",fname,strerror(errno));
+ }
continue;
}