-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: error due to out-of-range process exit code
Problem: On Win32 systems we may receive process exit codes that are outside of the range of a 32-bit signed integer (as expected by UpdateWorkerAgent API), but in range of a 32-bit unsigned integer. This causes a validation error to be raised which the agent treats as an unrecoverable error and exits. Solution: Convert all process exit codes to be in range of a 32-bit signed integer by casting the bits to the type. Signed-off-by: Daniel Neilson <53624638+ddneilson@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters