We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9955df6 commit a558b13Copy full SHA for a558b13
libc/utils/hdrgen/main.py
@@ -61,7 +61,7 @@ def write_depfile():
61
62
if not header.template_file:
63
sys.stderr.write(f"{yaml_file}: Missing header_template\n")
64
- sys.exit(2)
+ return 2
65
66
# The header_template path is relative to the containing YAML file.
67
template_path = yaml_file.parent / header.template_file
@@ -78,4 +78,4 @@ def write_depfile():
78
79
80
if __name__ == "__main__":
81
- main()
+ sys.exit(main())
0 commit comments