tvl-depot/users/Profpatsch/aerc-no-config-perms.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
492 B
Diff
Raw Normal View History

diff --git a/config/config.go b/config/config.go
index 0472daf..5eed379 100644
--- a/config/config.go
+++ b/config/config.go
@@ -779,6 +779,7 @@ func (config *AercConfig) LoadBinds(binds *ini.File, baseName string, baseGroup
// checkConfigPerms checks for too open permissions
// printing the fix on stdout and returning an error
func checkConfigPerms(filename string) error {
+ return nil;
info, err := os.Stat(filename)
if err != nil {
return nil // disregard absent files