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:
parent
2dafe4b390
commit
66ba099ca0
|
@ -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, "aerc.conf")
|
filename := path.Join(*root, "accounts.conf")
|
||||||
if err := checkConfigPerms(filename); err != nil {
|
if err := checkConfigPerms(filename); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue