From c717b9e3b13e47efa62a18f7199dc63bc37860b1 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sun, 26 Sep 2021 15:21:24 +0000 Subject: [PATCH] --- util/OpsDiagnostics.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/OpsDiagnostics.cs b/util/OpsDiagnostics.cs index d51945a..8170a2b 100644 --- a/util/OpsDiagnostics.cs +++ b/util/OpsDiagnostics.cs @@ -120,7 +120,7 @@ namespace rockfishCore.Util } //Website and Forum sb at least three of each, so just ensure there are three matches - //we dont' care about date for these ones, just prescence + //we dont' care about date for these ones, just presence int FoundLevel2Matches = 0; foreach (string ExpectedFileName in Level2ManualBackupFilePrefixes) foreach (string FileName in SpacesFileNames) @@ -128,6 +128,7 @@ namespace rockfishCore.Util FoundLevel2Matches++; //should be one each of the critical and 3 each of the level2 + //todo: as long as there is one of each that's fine return (FoundCriticalMatches == CriticalDailyBackupFilePrefixes.Length && FoundLevel2Matches == (Level2ManualBackupFilePrefixes.Length * 3)); }