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
@ -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 New Issue
Block a user