update main #1

Merged
Sinipelto merged 240 commits from Bananymous/banan-os:main into main 2023-11-20 13:20:51 +02:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 9fc75fe445 - Show all commits

View File

@ -493,7 +493,10 @@ namespace Kernel
return BAN::Error::from_errno(ECHILD);
pid_t ret = target->pid();
*stat_loc = target->block_until_exit();
int stat = target->block_until_exit();
if (stat_loc)
*stat_loc = stat;
return ret;
}