Skip to content

Commit

Permalink
Update USMT.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
krisdb2009 authored Jun 10, 2024
1 parent eebab16 commit b36fda6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SuperGrate/Classes/USMT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,8 @@ private static bool TestUSMTPostExitEnvironment()
{
bool errorFound = false;
List<string> USMTLog = Logger.Log.GetRange(LogStartIndex, Logger.Log.Count - LogStartIndex);
if (USMTLog.Find((line) => Regex.IsMatch(line, "errorCode, (0|3)")) != null) return true;
if (USMTLog.Find((line) => Regex.IsMatch(line, "Successful run")) != null) return true;
if (USMTLog.Find((line) => Regex.IsMatch(line, "migration errors would have been fatal if not for \/c")) != null) return true;
if (USMTLog.Find((line) => Regex.IsMatch(line, "An error occurred processing the command line\\.")) != null)
{
errorFound = true;
Expand Down

0 comments on commit b36fda6

Please sign in to comment.