entrance: wait for all child
This commit is contained in:
parent
73c1a0007a
commit
b7bbc97301
|
@ -133,6 +133,7 @@ entrance_xserver_end(void)
|
|||
kill(atoi(xpid), SIGTERM);
|
||||
|
||||
unsetenv("ENTRANCE_XPID");
|
||||
while (waitpid(-1, NULL, WNOHANG) > 0);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue