From 7911ec5de977abb8df859dbe4721ed1aad4b95a1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 20 Mar 2013 11:48:53 +0000 Subject: 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 --- scripts/runqemu | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/runqemu') 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` fi . $INTERNAL_SCRIPT +exit $? -- cgit v1.2.3-54-g00ecf