Return 0, when display error message.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-03-17 18:47:17 +01:00
parent 615e75fb8a
commit de2b355862
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 0 deletions

View File

@ -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;