Browse Source

mount: hide /etc folder also from mount

pull/2210/head
Chris Lu 4 years ago
parent
commit
84d91f143f
  1. 2
      weed/filesys/meta_cache/meta_cache_init.go

2
weed/filesys/meta_cache/meta_cache_init.go

@ -43,5 +43,5 @@ func EnsureVisited(mc *MetaCache, client filer_pb.FilerClient, dirPath util.Full
} }
func IsHiddenSystemEntry(dir, name string) bool { func IsHiddenSystemEntry(dir, name string) bool {
return dir == "/" && name == "topics"
return dir == "/" && (name == "topics" || name == "etc")
} }
Loading…
Cancel
Save