diff --git a/internal/updater/updater.go b/internal/updater/updater.go index bc60a678..bd57fa43 100644 --- a/internal/updater/updater.go +++ b/internal/updater/updater.go @@ -77,7 +77,7 @@ func (s *Updater) getAppVersion() (error, EnvResponse) { // CheckForUpdates checks for updates to the app func (s *Updater) CheckForUpdates(interactive bool) bool { config, exists := s.serverconfig.GetIfExists() - if exists && config.Spire.DisableAutoUpdates { + if exists && config.Spire.DisableAutoUpdates && interactive { s.logger.Info().Any("spire.disable_auto_updates", config.Spire.DisableAutoUpdates).Msg("Auto updates are disabled via config") return false }