diff --git a/src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs b/src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs index 685ff6a4bc..966ee57bc7 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs @@ -265,7 +265,7 @@ namespace Tgstation.Server.Host.Components.Deployment .Select(x => x.DirectoryName.Value) .ToListAsync(cancellationToken) .ConfigureAwait(false)) - .Select(x => x.ToString()) + .Select(x => x.ToString().ToUpperInvariant()) .ToList(); }).ConfigureAwait(false); @@ -273,6 +273,8 @@ namespace Tgstation.Server.Host.Components.Deployment if (exceptThisOne != null) jobUidsToNotErase.Add(exceptThisOne.DirectoryName.Value.ToString().ToUpperInvariant()); + logger.LogTrace("We will not clean the following directories: {0}", String.Join(", ", jobUidsToNotErase)); + // cleanup var gameDirectory = ioManager.ResolvePath(); await ioManager.CreateDirectory(gameDirectory, cancellationToken).ConfigureAwait(false);