forked from Mirrors/gomuks
Don't run start when headless
This commit is contained in:
parent
3c5a97576f
commit
190eb0cdba
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ func (c *Container) InitClient(isStartup bool) error {
|
|||
|
||||
c.stop = make(chan bool, 1)
|
||||
|
||||
if len(accessToken) > 0 {
|
||||
if len(accessToken) > 0 && !c.headless {
|
||||
go c.Start()
|
||||
}
|
||||
return nil
|
||||
|
|
Loading…
Add table
Reference in a new issue