From 996fe62a21df9e7f724cc614ecbfba9a6844ebef Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 12 May 2020 15:35:05 +0300 Subject: Fix typo when getting config dir based on GOMUKS_ROOT --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 2db06b2..1c61021 100644 --- a/main.go +++ b/main.go @@ -134,7 +134,7 @@ func UserDownloadDir() (dir string, err error) { func UserConfigDir() (dir string, err error) { dir = os.Getenv("GOMUKS_CONFIG_HOME") if dir == "" { - dir = getRootDir("cache") + dir = getRootDir("config") } if dir == "" { dir, err = os.UserConfigDir() -- cgit v1.2.3