X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/384958ed3dcd18e8ec7cf2e5a6142812f14229d8..de343e3ccea541b62970e53cba03f5ab5804ce5e:/generator.c diff --git a/generator.c b/generator.c index 6b242683..93faa54d 100644 --- a/generator.c +++ b/generator.c @@ -247,7 +247,9 @@ void recv_generator(char *fname,struct file_list *flist,int i,int f_out) fname,strerror(errno)); } } - if (set_perms(fname,file,NULL,0) && verbose) + /* f_out is set to -1 when doing final directory + permission and modification time repair */ + if (set_perms(fname,file,NULL,0) && verbose && (f_out != -1)) rprintf(FINFO,"%s/\n",fname); return; }