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 1bf616a commit eebab16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SuperGrate/Classes/USMT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ 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, "errorCode, 11")) != null)
if (USMTLog.Find((line) => Regex.IsMatch(line, "An error occurred processing the command line\\.")) != null)
{
errorFound = true;
Logger.Error(Language.Get("Class/USMT/Log/Failed/ErrorProcessingCLI"));
Expand Down

0 comments on commit eebab16

Please sign in to comment.