diff --git a/cli/main.go b/cli/main.go index 32b4ba6..42ad1c0 100644 --- a/cli/main.go +++ b/cli/main.go @@ -306,6 +306,9 @@ func authUtil(c *cli.Context, logout bool) error { } if online && !logout { logger.Infof("Currently online!") + if settings.KeepOn { + return keepAliveLoop(c, true) + } return nil } else if !online && logout { logger.Infof("Currently offline!")