Revert "s/aerc.conf/address.conf/ in permission check"

This reverts commit 66ba099ca0.
This commit is contained in:
Drew DeVault 2019-05-16 16:40:06 -04:00
parent 66ba099ca0
commit ff51625513

View file

@ -143,7 +143,7 @@ func LoadConfig(root *string) (*AercConfig, error) {
_root := path.Join(xdg.ConfigHome(), "aerc") _root := path.Join(xdg.ConfigHome(), "aerc")
root = &_root root = &_root
} }
filename := path.Join(*root, "accounts.conf") filename := path.Join(*root, "aerc.conf")
if err := checkConfigPerms(filename); err != nil { if err := checkConfigPerms(filename); err != nil {
return nil, err return nil, err
} }