diff --git a/codespell_lib/__main__.py b/codespell_lib/__main__.py index bbadb84c5b..ecc82e092b 100644 --- a/codespell_lib/__main__.py +++ b/codespell_lib/__main__.py @@ -1,4 +1,6 @@ +import sys + from ._codespell import _script_main if __name__ == "__main__": - _script_main() + sys.exit(_script_main())