]> Git Repo - qemu.git/commit
qemu-io: Exit with error when a command failed
authorMax Reitz <[email protected]>
Wed, 9 May 2018 19:43:00 +0000 (21:43 +0200)
committerMax Reitz <[email protected]>
Mon, 11 Jun 2018 14:18:45 +0000 (16:18 +0200)
commit6b3aa8485ca8e61b168f51d465188855cf549bd2
treee8a72aaea0ccd640831d2b9c542f046c632c90da
parentb32d7a39af488d280ce5f02a2ed94871d696f87a
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-id: 20180509194302[email protected]
Signed-off-by: Max Reitz <[email protected]>
qemu-io.c
This page took 0.024975 seconds and 4 git commands to generate.