0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-25 21:38:18 +02:00

ircd::exec: Synchronize join to fix waitpid()=ECHILD.

This commit is contained in:
Jason Volk 2020-10-28 02:05:47 -07:00
parent 55e7b83ca7
commit e918bf06bb

View file

@ -149,7 +149,12 @@ try
sig,
};
child->wait();
//child->wait();
dock.wait([this]
{
return this->pid <= 0;
});
assert(!child->running());
return code;
}