Commit 4616867b authored by Wayne Davison's avatar Wayne Davison

Don't allow '.' dir to be excluded by the daemon's filter rules.

parent 8a5ae84e
......@@ -1284,7 +1284,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
skip_dir = NULL;
}
if (daemon_filter_list.head) {
if (daemon_filter_list.head && (*fname != '.' || fname[1])) {
if (check_filter(&daemon_filter_list, FLOG, fname, is_dir) < 0) {
if (is_dir < 0)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment