From e13b71269f6297fca612bd6c335354331bfd60d1 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sat, 1 Jun 2024 13:26:34 -0500 Subject: [PATCH] Update updater.go --- internal/updater/updater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }