Re: [Qemu-devel] [PATCH 3/5] qemu-io: Exit with error when a command failed

2018-04-30 Thread Eric Blake
On 04/28/2018 09:41 AM, Max Reitz wrote: 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

[Qemu-devel] [PATCH 3/5] qemu-io: Exit with error when a command failed

2018-04-28 Thread Max Reitz
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 f