Fixed DataDirs, ConfigDirs
This commit is contained in:
parent
bc7b9c58a8
commit
5b9c1ed1ef
@ -206,7 +206,7 @@ func listDefault (list string, defaul ...string) []string {
|
||||
|
||||
index := 0
|
||||
for _, dir := range envDirs {
|
||||
if Valid(dir) != nil {
|
||||
if Valid(dir) == nil {
|
||||
dirs[index] = dir
|
||||
index ++
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user