Skip to content

Commit

Permalink
Scoop: don't show success when internet drop and pwsh script crashes (f…
Browse files Browse the repository at this point in the history
…ix #3186)
  • Loading branch information
marticliment committed Jan 17, 2025
1 parent 2ea0871 commit a3c0f0b
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,10 @@ protected override OperationVeredict _getOperationResult(

return OperationVeredict.Failure;
}
else
{
if (output_string.Contains("ERROR"))
return OperationVeredict.Failure;

return OperationVeredict.Success;
}
if (output_string.Contains("ERROR"))
return OperationVeredict.Failure;

return returnCode == 0? OperationVeredict.Success: OperationVeredict.Failure;
}
}

0 comments on commit a3c0f0b

Please sign in to comment.