summary refs log tree commit diff stats
path: root/scripts/qapi/introspect.py
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2018-05-09 21:43:00 +0200
committerMax Reitz <mreitz@redhat.com>2018-06-11 16:18:45 +0200
commit6b3aa8485ca8e61b168f51d465188855cf549bd2 (patch)
treee8a72aaea0ccd640831d2b9c542f046c632c90da /scripts/qapi/introspect.py
parentb32d7a39af488d280ce5f02a2ed94871d696f87a (diff)
downloadfocaccia-qemu-6b3aa8485ca8e61b168f51d465188855cf549bd2.tar.gz
focaccia-qemu-6b3aa8485ca8e61b168f51d465188855cf549bd2.zip
qemu-io: Exit with error when a command failed
Currently, qemu-io basically always returns success when it gets to
interactive mode (so once the whole command line has been parsed; even
before the commands on the command line are interpreted).  That is not
very useful.

This patch makes qemu-io return failure when any of the executed
commands failed.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1519617
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20180509194302.21585-4-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/qapi/introspect.py')
0 files changed, 0 insertions, 0 deletions