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:
Ville Juven 2023-02-13 15:44:08 +02:00 committed by Masayuki Ishikawa
parent a1e04617f8
commit 40800823c6

View file

@ -77,6 +77,8 @@ static inline void nxtask_exitstatus(FAR struct task_group_s *group,
child->ch_status = status;
}
}
group->tg_exitcode = status;
}
#else