mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 09:49:21 +08:00
sched/nxtask_sigchild: Set exit code when CONFIG_SCHED_CHILD_STATUS=y
This is a follow-up to https://github.com/apache/nuttx/pull/8486
This commit is contained in:
parent
a1e04617f8
commit
40800823c6
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,8 @@ static inline void nxtask_exitstatus(FAR struct task_group_s *group,
|
|||
child->ch_status = status;
|
||||
}
|
||||
}
|
||||
|
||||
group->tg_exitcode = status;
|
||||
}
|
||||
#else
|
||||
|
||||
|
|
Loading…
Reference in a new issue