mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
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>
This commit is contained in:
@@ -453,3 +453,4 @@ INTERNAL_SCRIPT=`which runqemu-internal`
|
||||
fi
|
||||
|
||||
. $INTERNAL_SCRIPT
|
||||
exit $?
|
||||
|
||||
Reference in New Issue
Block a user