aboutsummaryrefslogtreecommitdiff
path: root/summarize.py
diff options
context:
space:
mode:
Diffstat (limited to 'summarize.py')
-rwxr-xr-xsummarize.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/summarize.py b/summarize.py
index d974fb2..351bedf 100755
--- a/summarize.py
+++ b/summarize.py
@@ -96,7 +96,7 @@ def main():
if "--version" in sys.argv:
print(src.facter.allocbench_version())
- exit(0)
+ sys.exit(0)
parser = argparse.ArgumentParser(description="Summarize allocbench results in allocator sets")
parser.add_argument("results", help="path to results", type=str)
@@ -110,7 +110,7 @@ def main():
if not os.path.isdir(args.results):
print_error(f"{args.results} is no directory")
- exit(1)
+ sys.exit(1)
if args.file_ext:
src.globalvars.summary_file_ext = args.file_ext