X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b5473dd4a97681c98fee632d07c34bade9b204d6..778124188914358b2a1d4e0046401acf6551ea76:/flist.c diff --git a/flist.c b/flist.c index 1c15d8c0..860bf834 100644 --- a/flist.c +++ b/flist.c @@ -2189,7 +2189,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[]) } /* A dot-dir should not be excluded! */ - if (name_type != DOTDIR_NAME + if (name_type != DOTDIR_NAME && st.st_mode != 0 && is_excluded(fbuf, S_ISDIR(st.st_mode) != 0, ALL_FILTERS)) continue;