X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b43db229b74ad8457539eb771e9733aeeccffb6f..b0a04670a254aabe2f5557fedf3459c4537e6d8b:/flist.c diff --git a/flist.c b/flist.c index f7bd1aad..f0e557e5 100644 --- a/flist.c +++ b/flist.c @@ -2153,7 +2153,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;