5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-23 12:15:39 +00:00
This commit is contained in:
Arceliar 2020-04-03 00:33:01 -05:00
commit 03a19997b8

View File

@ -160,7 +160,10 @@ func (c *Core) _start(nc *config.NodeConfig, log *log.Logger) (*config.NodeState
}
c.log.Infoln("Starting up...")
c._init()
if err := c._init(); err != nil {
c.log.Errorln("Failed to initialize core")
return nil, err
}
if err := c.link.init(c); err != nil {
c.log.Errorln("Failed to start link interfaces")