1
0
Fork 0
forked from Mirrors/gomuks

Don't run start when headless

This commit is contained in:
FIGBERT 2023-09-15 14:36:29 -07:00
parent 3c5a97576f
commit 190eb0cdba
No known key found for this signature in database
GPG key ID: 67F1598D607A844B

View file

@ -180,7 +180,7 @@ func (c *Container) InitClient(isStartup bool) error {
c.stop = make(chan bool, 1) c.stop = make(chan bool, 1)
if len(accessToken) > 0 { if len(accessToken) > 0 && !c.headless {
go c.Start() go c.Start()
} }
return nil return nil