Skip to content

Commit c615c5a

Browse files
authored
Merge pull request #60618 from YOCKOW/neatness
[build-script] Omit "Build Script Analyzer" when `SystemExit` is caught.
2 parents 944b6f8 + 1cc4054 commit c615c5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/build-script

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,8 @@ def main():
718718
if __name__ == "__main__":
719719
try:
720720
exit_code = main()
721+
except SystemExit as e:
722+
os._exit(e.code)
721723
except KeyboardInterrupt:
722724
sys.exit(1)
723725
finally:

0 commit comments

Comments
 (0)