Skip to content

Commit

Permalink
Update USMT.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
krisdb2009 committed Jun 10, 2024
1 parent 7c9e77e commit 33c86d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SuperGrate/Classes/USMT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +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, "Successful run")) != null) return true;
if (USMTLog.Find((line) => Regex.IsMatch(line, "An error occurred processing the command line\\.")) != null)
if (USMTLog.Find((line) => Regex.IsMatch(line, "errorCode, (0|3)")) != null) return true;
if (USMTLog.Find((line) => Regex.IsMatch(line, "errorCode, 11")) != null)
{
errorFound = true;
Logger.Error(Language.Get("Class/USMT/Log/Failed/ErrorProcessingCLI"));
Expand Down

0 comments on commit 33c86d8

Please sign in to comment.