From 715f67f32fbfd809a83df4a51c072156b35d4cc6 Mon Sep 17 00:00:00 2001 From: Masamichi Takagi Date: Thu, 29 Nov 2018 13:27:19 +0900 Subject: [PATCH] mcreboot.sh: Fix error handling of BUILDID mismatch Change-Id: I29d78c4739679e0b3229cc6fa28816f1ceee332c --- arch/x86_64/tools/mcreboot-smp-x86.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86_64/tools/mcreboot-smp-x86.sh.in b/arch/x86_64/tools/mcreboot-smp-x86.sh.in index cacd2cad..01871c81 100644 --- a/arch/x86_64/tools/mcreboot-smp-x86.sh.in +++ b/arch/x86_64/tools/mcreboot-smp-x86.sh.in @@ -391,7 +391,7 @@ fi IHK_BUILDID=`${SBINDIR}/ihkconfig 0 get buildid` if [ "${IHK_BUILDID}" != "${MCK_BUILDID}" ]; then echo "IHK build-id (${IHK_BUILDID}) didn't match McKernel build-id (${MCK_BUILDID})." >&2 - exit 1 + error_exit "mcctrl_loaded" fi # Destroy all LWK instances