Commit 4c36a13e authored by Andrew Tridgell's avatar Andrew Tridgell

don't abort the server side if the file list is empty (perhaps because

all files have been excluded).
parent 24986abd
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment