fs: fix --cache-dir to have some effect
This commit is contained in:
parent
569c1a2ec1
commit
159fce0106
1 changed files with 3 additions and 0 deletions
|
@ -462,6 +462,9 @@ func LoadConfig() {
|
||||||
Debugf(nil, "Using config file from %q", ConfigPath)
|
Debugf(nil, "Using config file from %q", ConfigPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Load cache directory from flags
|
||||||
|
CacheDir = *cacheDir
|
||||||
|
|
||||||
// Load filters
|
// Load filters
|
||||||
Config.Filter, err = NewFilter()
|
Config.Filter, err = NewFilter()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue