diff options
author | Cole Helbling <cole.e.helbling@gmail.com> | 2019-05-16 13:10:45 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-05-16 16:28:49 -0400 |
commit | 66ba099ca0bfa83cd050050d92663ec45da20141 (patch) | |
tree | 3887ee8f103f6badf54ffb6725befd5c005a464c /config/config.go | |
parent | 2dafe4b390c75df69c966530e8d9d9ba8a0a4601 (diff) | |
download | aerc-66ba099ca0bfa83cd050050d92663ec45da20141.tar.gz |
s/aerc.conf/address.conf/ in permission check
Small typo in a recent commit: should abort if accounts.conf is world readable, not aerc.conf.
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/config.go b/config/config.go index 33623d5..9148af4 100644 --- a/config/config.go +++ b/config/config.go @@ -143,7 +143,7 @@ func LoadConfig(root *string) (*AercConfig, error) { _root := path.Join(xdg.ConfigHome(), "aerc") root = &_root } - filename := path.Join(*root, "aerc.conf") + filename := path.Join(*root, "accounts.conf") if err := checkConfigPerms(filename); err != nil { return nil, err } |