Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bootloader: return 1 not -1 if frozen python script exits due to exce…
…ption (#5481) Keep the bootloader's return code consistent with that of python interpreter, which returns 1 if it exits due to exception in the python script. Fixes #5480.
- Loading branch information
Showing
3 changed files
with
9 additions
and
2 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Fix the return code if the frozen script fails due to unhandled exception. | ||
The return code 1 is used instead of -1, to keep the behavior consistent | ||
with that of the python interpreter. |
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