fs: fix --cache-dir to have some effect

This commit is contained in:
Nick Craig-Wood 2017-11-22 17:04:10 +00:00
parent 569c1a2ec1
commit 159fce0106

View File

@ -462,6 +462,9 @@ func LoadConfig() {
Debugf(nil, "Using config file from %q", ConfigPath)
}
// Load cache directory from flags
CacheDir = *cacheDir
// Load filters
Config.Filter, err = NewFilter()
if err != nil {