This commit is contained in:
William Hubbs 2017-09-18 13:03:34 -05:00
parent 3cf19b0f30
commit b28c0d6f66

View File

@ -666,7 +666,7 @@ int main(int argc, char **argv)
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
/* wait for the supervisor to go down */ /* wait for the supervisor to go down */
while (kill(pid, 0) == 0) while (kill(pid, 0) == 0) {
ts.tv_sec = 0; ts.tv_sec = 0;
ts.tv_nsec = 1; ts.tv_nsec = 1;
nanosleep(&ts, NULL); nanosleep(&ts, NULL);