diff --git a/command/agent/agent.go b/command/agent/agent.go index 1fb76d0d43..737ff81168 100644 --- a/command/agent/agent.go +++ b/command/agent/agent.go @@ -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) }