diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-20 11:48:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-20 11:53:06 +0000 |
commit | ebf4d7a90dd9fcfbc9ff908da5b33f84df2de099 (patch) | |
tree | 08383d7c711a9d3eb9604f42e253f9772b45b383 /scripts/runqemu | |
parent | 8207e3f48bed9ea1950dc545640abf0ea56426ce (diff) | |
download | poky-ebf4d7a90dd9fcfbc9ff908da5b33f84df2de099.tar.gz |
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>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 6c2a684633..8ed1226c06 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -453,3 +453,4 @@ INTERNAL_SCRIPT=`which runqemu-internal` | |||
453 | fi | 453 | fi |
454 | 454 | ||
455 | . $INTERNAL_SCRIPT | 455 | . $INTERNAL_SCRIPT |
456 | exit $? | ||