]> Git Repo - qemu.git/commitdiff
qapi2texi: Fix to actually fail when 'doc-required' is false
authorMarkus Armbruster <[email protected]>
Mon, 20 Mar 2017 13:11:51 +0000 (14:11 +0100)
committerMarkus Armbruster <[email protected]>
Tue, 21 Mar 2017 09:42:27 +0000 (10:42 +0100)
Messed up in commit bc52d03.

Signed-off-by: Markus Armbruster <[email protected]>
Message-Id: <1490015515[email protected]>
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
scripts/qapi2texi.py

index 8eed11a60c6ef33808c2c0e871d25c5c693b081c..5c4db785749957055897dd744216bc41c75520e6 100755 (executable)
@@ -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)
 
 
This page took 0.029438 seconds and 4 git commands to generate.