diff options
author | Wim <wim@42.be> | 2016-09-20 23:18:51 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-09-20 23:18:51 +0200 |
commit | fd756c53324f91817f0fd040fa00114c35b4ad72 (patch) | |
tree | 3536c87d3d6429e2319f630a3f7c2b0db89a1996 /bridge/config | |
parent | dce600ad51100d9f9a1cee1d0bda9410f0a2c2a9 (diff) | |
download | matterbridge-msglm-fd756c53324f91817f0fd040fa00114c35b4ad72.tar.gz matterbridge-msglm-fd756c53324f91817f0fd040fa00114c35b4ad72.tar.bz2 matterbridge-msglm-fd756c53324f91817f0fd040fa00114c35b4ad72.zip |
Use specified config file
Diffstat (limited to 'bridge/config')
-rw-r--r-- | bridge/config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |