summaryrefslogtreecommitdiff
path: root/flist.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-03-13 08:49:53 -0700
committerWayne Davison <wayned@samba.org>2009-03-13 08:49:53 -0700
commit778124188914358b2a1d4e0046401acf6551ea76 (patch)
tree51c75d16653f2396f8ddcd7973ec969cf1f29e9a /flist.c
parentb5473dd4a97681c98fee632d07c34bade9b204d6 (diff)
downloadrsync-778124188914358b2a1d4e0046401acf6551ea76.tar.gz
rsync-778124188914358b2a1d4e0046401acf6551ea76.tar.bz2
rsync-778124188914358b2a1d4e0046401acf6551ea76.zip
Make missing args governed by protect filters, not hide.
Diffstat (limited to 'flist.c')
-rw-r--r--flist.c2
1 files changed, 1 insertions, 1 deletions
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;