summaryrefslogtreecommitdiff
path: root/aerc.go
diff options
context:
space:
mode:
authorinwit <inwit@sindominio.net>2022-01-24 11:45:35 +0100
committerRobin Jarry <robin@jarry.cc>2022-01-24 11:48:51 +0100
commitd922d7325c7b50425b60f84fc7be1f8d32ec86fd (patch)
tree98370216200741cf657cade7b44dbf2fef295a93 /aerc.go
parentcb3090956cfdc0ff4c2f06e4ef3c5eb73b73f9c0 (diff)
downloadaerc-d922d7325c7b50425b60f84fc7be1f8d32ec86fd.zip
binds: Warning on unexistent account bindings
After commit 175d0ef ("binds: add account specific bindings"), when bindings are defined for an account not defined in accounts.conf, aerc quits with an error. After this commit, a warning is logged and aerc ignores those bindings. Signed-off-by: inwit <inwit@sindominio.net>
Diffstat (limited to 'aerc.go')
-rw-r--r--aerc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/aerc.go b/aerc.go
index b3338ba..9d83d2c 100644
--- a/aerc.go
+++ b/aerc.go
@@ -158,7 +158,7 @@ func main() {
logger = log.New(logOut, "", log.LstdFlags)
logger.Println("Starting up aerc")
- conf, err := config.LoadConfigFromFile(nil, ShareDir)
+ conf, err := config.LoadConfigFromFile(nil, ShareDir, logger)
if err != nil {
fmt.Fprintf(os.Stderr, "Failed to load config: %v\n", err)
os.Exit(1)