Fix incorrect value of execonfdir

The confdir() function returned `os.UserCacheDir()` instead of
`os.UserConfigDir()` causing `execonfdir` to incorrectly point to user's
cache directory.
pull/97/head
Murtaza Udaipurwala 2 years ago
parent 21ac268dfd
commit ceb7dca14e
No known key found for this signature in database
GPG Key ID: 1663A3AB4393336E

@ -51,7 +51,7 @@ func cachedir() string {
}
func confdir() string {
dir, _ := os.UserCacheDir()
dir, _ := os.UserConfigDir()
return dir
}

Loading…
Cancel
Save