mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-18 18:10:31 +00:00
Replace print with exit (#1065)
This commit is contained in:
1 parent
654ad75c8d
commit
03bfe9018e
1 file changed
+1
-1
@@ -47,7 +47,7 @@ def main():
|
||||
subprocess.check_call(args=args + parsed_args.lit_args, env=env)
|
||||
except subprocess.CalledProcessError as e:
|
||||
# Print without the stack trace.
|
||||
print(e)
|
||||
exit(e)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in new issue
Block a user