From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 13 Nov 2025 13:54:10 +0000 (-0500) Subject: Do not call `sys.exit` with a void return X-Git-Tag: rec-5.4.0-alpha1~89^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16488%2Fhead;p=thirdparty%2Fpdns.git Do not call `sys.exit` with a void return Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/docs/generate-docs.py b/docs/generate-docs.py index a2bca50f65..2c8e3e15bc 100755 --- a/docs/generate-docs.py +++ b/docs/generate-docs.py @@ -120,4 +120,4 @@ def create_argument_parser(): if __name__ == "__main__": - sys.exit(main()) + main() diff --git a/docs/generate-man-pages.py b/docs/generate-man-pages.py index 91d4fc5386..c0c3137f9d 100755 --- a/docs/generate-man-pages.py +++ b/docs/generate-man-pages.py @@ -102,4 +102,4 @@ def create_argument_parser(): if __name__ == "__main__": - sys.exit(main()) + main()