From 66ba099ca0bfa83cd050050d92663ec45da20141 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 16 May 2019 13:10:45 -0700 Subject: 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. --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/config.go') 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 } -- cgit 1.4.1-2-gfad0