From 159fce01063daef1e4417b2bfa7fc561542c5c27 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 22 Nov 2017 17:04:10 +0000 Subject: [PATCH] fs: fix --cache-dir to have some effect --- fs/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/config.go b/fs/config.go index 93f110be9..2b3e83f42 100644 --- a/fs/config.go +++ b/fs/config.go @@ -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 {