summaryrefslogtreecommitdiffstats
path: root/cedar.go
diff options
context:
space:
mode:
Diffstat (limited to 'cedar.go')
-rw-r--r--cedar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cedar.go b/cedar.go
index ebd22c8..e1a7a0e 100644
--- a/cedar.go
+++ b/cedar.go
@@ -110,7 +110,7 @@ func writeFile(f os.File, cache Ids) error {
func cacheFor(section string) (Ids, error) {
cache := make(Ids, 0)
- h, _ := os.UserHomeDir()
+ h := os.Getenv("HOME")
d := path.Join(h, ".cedar")
err := os.MkdirAll(d, 0700)