summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCole Helbling <cole.e.helbling@gmail.com>2019-05-16 13:10:45 -0700
committerDrew DeVault <sir@cmpwn.com>2019-05-16 16:28:49 -0400
commit66ba099ca0bfa83cd050050d92663ec45da20141 (patch)
tree3887ee8f103f6badf54ffb6725befd5c005a464c
parent2dafe4b390c75df69c966530e8d9d9ba8a0a4601 (diff)
downloadaerc-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.
-rw-r--r--config/config.go2
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
 	}
pre>
f51bd48a ^
















7582555b ^







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45