From bc25bba261c7f917cff3a519e5af7a455f0b0862 Mon Sep 17 00:00:00 2001 From: Ryan Kistner Date: Sun, 3 Nov 2019 19:10:15 -0700 Subject: [PATCH] Only show the checksum mismatch when the manifest actually exists --- DepotDownloader/ContentDownloader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index f072a63e..40c31141 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -632,7 +632,7 @@ namespace DepotDownloader newProtoManifest = ProtoManifest.LoadFromFile(newManifestFileName, out currentChecksum); - if (expectedChecksum == null || !expectedChecksum.SequenceEqual(currentChecksum)) + if (newProtoManifest != null && (expectedChecksum == null || !expectedChecksum.SequenceEqual(currentChecksum))) { Console.WriteLine("Manifest {0} on disk did not match the expected checksum.", depot.manifestId); newProtoManifest = null;