aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-05-12 15:35:05 +0300
committerTulir Asokan <tulir@maunium.net>2020-05-12 15:35:05 +0300
commit996fe62a21df9e7f724cc614ecbfba9a6844ebef (patch)
tree05761edce292f99298898aaa94f0ce896a0716a0
parenta2d6d974836bc51598c453f78373495c018f1639 (diff)
Fix typo when getting config dir based on GOMUKS_ROOT
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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()