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-27 17:28:00 +0000
commit7911ec5de977abb8df859dbe4721ed1aad4b95a1 (patch)
treec18684e177d6712f765a542ce69e2934814a44a0 /scripts/runqemu
parenta9390e0f9e4a147f9e0a3a56b715975e58766fc0 (diff)
downloadpoky-7911ec5de977abb8df859dbe4721ed1aad4b95a1.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: 22a54741167dd6cc011a1b98787c82cc992158ed) 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 fc7d749944..04caa6d264 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -422,3 +422,4 @@ INTERNAL_SCRIPT=`which runqemu-internal`
422fi 422fi
423 423
424. $INTERNAL_SCRIPT 424. $INTERNAL_SCRIPT
425exit $?