From fd756c53324f91817f0fd040fa00114c35b4ad72 Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 20 Sep 2016 23:18:51 +0200 Subject: [PATCH] Use specified config file --- bridge/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/config/config.go b/bridge/config/config.go index e3b7b52f..290108af 100644 --- a/bridge/config/config.go +++ b/bridge/config/config.go @@ -68,7 +68,7 @@ type Config struct { func NewConfig(cfgfile string) *Config { var cfg Config - if _, err := toml.DecodeFile("matterbridge.toml", &cfg); err != nil { + if _, err := toml.DecodeFile(cfgfile, &cfg); err != nil { log.Fatal(err) } return &cfg