diff --git a/src/Tgstation.Server.Host/Components/Instance.cs b/src/Tgstation.Server.Host/Components/Instance.cs index 6d5378dc93..776a9ac57f 100644 --- a/src/Tgstation.Server.Host/Components/Instance.cs +++ b/src/Tgstation.Server.Host/Components/Instance.cs @@ -330,8 +330,7 @@ namespace Tgstation.Server.Host.Components logger.LogInformation(Repository.Repository.OriginTrackingErrorTemplate, currentHead); onOrigin = true; } - - if (currentRevInfo.CommitSha == currentHead) + else if (currentRevInfo.CommitSha == currentHead) { logger.LogTrace("Not updating rev-info, already in DB."); return;