From 753533b2f338ff2ef97eebd5eace7623404ae457 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. 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 6c2a684633..8ed1226c06 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -453,3 +453,4 @@ INTERNAL_SCRIPT=`which runqemu-internal` fi . $INTERNAL_SCRIPT +exit $? -- cgit v1.2.3