diff --git a/src/corppa/utils/filter.py b/src/corppa/utils/filter.py index e8208e5..751bfaf 100644 --- a/src/corppa/utils/filter.py +++ b/src/corppa/utils/filter.py @@ -125,7 +125,7 @@ def main(): if not os.path.exists(args.idfile): print(f"Error: idfile {args.idfile} does not exist") - exit(-1) + sys.exit(-1) elif os.path.getsize(args.idfile) == 0: print(f"Error: idfile {args.idfile} is empty") exit(-1)