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.
This commit is contained in:
Cole Helbling 2019-05-16 13:10:45 -07:00 committed by Drew DeVault
parent 2dafe4b390
commit 66ba099ca0
1 changed files with 1 additions and 1 deletions

View File

@ -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
}