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
don't abort the server side if the file list is empty (perhaps because
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
0eab26b
..
35f6400
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-355,8
+355,8
@@
static void do_server_recv(int f_in, int f_out, int argc,char *argv[])
recv_exclude_list(f_in);
flist = recv_file_list(f_in);
- if (!flist
|| flist->count == 0
) {
- rprintf(FERROR,"server_recv:
nothing to do
\n");
+ if (!flist) {
+ rprintf(FERROR,"server_recv:
recv_file_list error
\n");
exit_cleanup(RERR_FILESELECT);
}