summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-20 11:48:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-20 11:53:06 +0000
commitebf4d7a90dd9fcfbc9ff908da5b33f84df2de099 (patch)
tree08383d7c711a9d3eb9604f42e253f9772b45b383 /scripts/runqemu
parent8207e3f48bed9ea1950dc545640abf0ea56426ce (diff)
downloadpoky-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-xscripts/runqemu1
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`
453fi 453fi
454 454
455. $INTERNAL_SCRIPT 455. $INTERNAL_SCRIPT
456exit $?