Browse Source

Return 0, when display error message.

pull/50/head
Rafal Kupiec 2 years ago
parent
commit
de2b355862
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      engine/vm.c

+ 1
- 0
engine/vm.c 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;


Loading…
Cancel
Save