diff options
author | Tulir Asokan <tulir@maunium.net> | 2020-05-12 15:35:05 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2020-05-12 15:35:05 +0300 |
commit | 996fe62a21df9e7f724cc614ecbfba9a6844ebef (patch) | |
tree | 05761edce292f99298898aaa94f0ce896a0716a0 | |
parent | a2d6d974836bc51598c453f78373495c018f1639 (diff) |
Fix typo when getting config dir based on GOMUKS_ROOT
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |