diff --git a/contrib/mobile/mobile.go b/contrib/mobile/mobile.go index ba7cfdf6..d8c2d6b5 100644 --- a/contrib/mobile/mobile.go +++ b/contrib/mobile/mobile.go @@ -62,11 +62,8 @@ func (m *Yggdrasil) StartJSON(configjson []byte) error { if len(m.config.MulticastInterfaces) > 0 { if err := m.multicast.Init(&m.core, m.config, logger, nil); err != nil { logger.Errorln("An error occurred initialising multicast:", err) - return err - } - if err := m.multicast.Start(); err != nil { + } else if err := m.multicast.Start(); err != nil { logger.Errorln("An error occurred starting multicast:", err) - return err } } return nil