189
188
Debug ("Already received USR1\n");
194
192
* wait() is unsafe. Other Xserver or xdm processes may
195
193
* exit at this time and this will remove the wait status.
196
194
* This means the main loop will not restart the display.
202
197
pid = waitpid (serverPid, (int *) 0, 0);
204
199
pid = waitpid (serverPid, (int *) 0, WNOHANG);
218
202
(pid == -1 && errno == ECHILD))