entrance: wait for all child

This commit is contained in:
Michaël Bouchaud (yoz) 2014-03-07 13:40:32 +01:00
parent 73c1a0007a
commit b7bbc97301
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ entrance_xserver_end(void)
kill(atoi(xpid), SIGTERM);
unsetenv("ENTRANCE_XPID");
while (waitpid(-1, NULL, WNOHANG) > 0);
}
void