diff --git a/src/func_create_ff.cpp b/src/func_create_ff.cpp index 7e56a1ad..264f7570 100644 --- a/src/func_create_ff.cpp +++ b/src/func_create_ff.cpp @@ -51,9 +51,14 @@ namespace l continue; for(auto const &fnmatch : branch.exclude) { + int rv; + const char *pattern = "*"; + rv = fnmatch(pattern,fusepath_.string().c_str(),FNM_CASEFOLD); + + if(rv == 0) + continue; } - rv = fs::info(branch.path,&info); if(rv == -1) continue;