runqemu: Improve error handling/exit codes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Mar 2013 11:48:53 +0000 (11:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Mar 2013 11:53:06 +0000 (11:53 +0000)
commit7b5e96fea63a600efff5853ea8ebaf0b6b452627
tree5032334462437550d19bc57052ce1119751a7482
parent670f4ccf66939b63037175893d5933a835f96af0
runqemu: Improve error handling/exit codes

runqemu-internal is sourced so should be returning with an error code in
case of errors. runqemu needs to deal with this.

This patch fixes up the various error paths so we're consistent and get
a sane exit status for runqemu which helps a lot in its use in the qemu
runtime testing on the autobuilder.

(From OE-Core rev: 753533b2f338ff2ef97eebd5eace7623404ae457)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu
scripts/runqemu-internal