summaryrefslogtreecommitdiff
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:00 +0000
commit753533b2f338ff2ef97eebd5eace7623404ae457 (patch)
tree9c9d887b24de626684c1debdbc93e0b7857baed8 /scripts/runqemu
parent817a8dc6424050973d8fad4f003475ac83ea6bb5 (diff)
downloadopenembedded-core-753533b2f338ff2ef97eebd5eace7623404ae457.tar.gz
openembedded-core-753533b2f338ff2ef97eebd5eace7623404ae457.tar.bz2
openembedded-core-753533b2f338ff2ef97eebd5eace7623404ae457.zip
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. 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`
fi
. $INTERNAL_SCRIPT
+exit $?