Fixed incorrect check.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22116 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a632458d8e
commit
9774b66a7d
|
@ -1364,7 +1364,7 @@ wait_for_child(pid_t child, uint32 flags, int32 *_reason,
|
|||
childrenExist = has_children_in_group(team, -child);
|
||||
} else {
|
||||
if (struct team* childTeam = team_get_team_struct_locked(child))
|
||||
childrenExist = team->parent == team;
|
||||
childrenExist = childTeam->parent == team;
|
||||
}
|
||||
|
||||
if (!childrenExist) {
|
||||
|
|
Loading…
Reference in New Issue