From: Martin Pool Date: Fri, 14 Dec 2001 02:16:20 +0000 (+0000) Subject: Clearer error messages. X-Git-Tag: v2.5.1~26 X-Git-Url: http://git.samba.org/samba.git/?p=rsync.git;a=commitdiff_plain;h=63787382d8590f0f8eea8d4fd4f7cc396c59c980 Clearer error messages. --- diff --git a/generator.c b/generator.c index b3b7f199..ef404704 100644 --- 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