diff options
-rw-r--r-- | sal/osl/unx/process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/osl/unx/process.c b/sal/osl/unx/process.c index de30ddb6e69f..097c237467fe 100644 --- a/sal/osl/unx/process.c +++ b/sal/osl/unx/process.c @@ -643,6 +643,8 @@ static void ChildStatusProc(void *pData) { if (WIFEXITED(status)) pChild->m_status = WEXITSTATUS(status); + else if (WIFSIGNALED(status)) + pChild->m_status = 128 + WTERMSIG(status); else pChild->m_status = -1; |