mirror of
https://github.com/rclone/rclone.git
synced 2025-01-19 23:22:46 +08:00
fs: fix --cache-dir to have some effect
This commit is contained in:
parent
569c1a2ec1
commit
159fce0106
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user