From: Markus Armbruster Date: Mon, 20 Mar 2017 13:11:51 +0000 (+0100) Subject: qapi2texi: Fix to actually fail when 'doc-required' is false X-Git-Url: https://repo.jachan.dev/qemu.git/commitdiff_plain/e8ba07ea9a qapi2texi: Fix to actually fail when 'doc-required' is false Messed up in commit bc52d03. Signed-off-by: Markus Armbruster Message-Id: <1490015515-25851-3-git-send-email-armbru@redhat.com> Reviewed-by: Marc-André Lureau --- diff --git a/scripts/qapi2texi.py b/scripts/qapi2texi.py index 8eed11a60c..5c4db78574 100755 --- a/scripts/qapi2texi.py +++ b/scripts/qapi2texi.py @@ -292,6 +292,7 @@ def main(argv): if not qapi.doc_required: print >>sys.stderr, ("%s: need pragma 'doc-required' " "to generate documentation" % argv[0]) + sys.exit(1) print texi_schema(schema)