Return 0, when display error message.
已通過所有檢查
The build was successful.

This commit is contained in:
Rafal Kupiec 2019-03-17 18:47:17 +01:00
父節點 615e75fb8a
當前提交 de2b355862
簽署人: belliash
GPG 金鑰 ID: 4E829243E0CFE6B4

查看文件

@ -2063,6 +2063,7 @@ static sxi32 VmByteCodeExec(
pVm->sVmConsumer.xConsumer(SyBlobData(&pTos->sBlob), SyBlobLength(&pTos->sBlob),
pVm->sVmConsumer.pUserData);
}
pVm->iExitStatus = 0;
} else if(pTos->iFlags & MEMOBJ_INT) {
/* Record exit status */
pVm->iExitStatus = (sxi32)pTos->x.iVal;