Do not trigger update check when in dev mode

This commit is contained in:
Freddy 2019-05-07 09:15:34 -06:00 committed by GitHub
parent 19f44cd1cc
commit c24c73bc59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ func (c *cmd) run(args []string) int {
defer agent.ShutdownEndpoints()
defer agent.ShutdownAgent()
if !config.DisableUpdateCheck {
if !config.DisableUpdateCheck && !config.DevMode {
c.startupUpdateCheck(config)
}