diff --git a/src/yggdrasil/admin.go b/src/yggdrasil/admin.go index 19c8d0a..dea4577 100644 --- a/src/yggdrasil/admin.go +++ b/src/yggdrasil/admin.go @@ -326,7 +326,7 @@ func (a *admin) init(c *Core, listenaddr string) { // start runs the admin API socket to listen for / respond to admin API calls. func (a *admin) start() error { - if a.listenaddr != "none" { + if a.listenaddr != "none" && a.listenaddr != "" { go a.listen() } return nil