Otherwise script users can be left hanging for long periods of time.
} else if (strcmp(q, "INFO") == 0) {
checkfg();
puts(p);
} else if (strcmp(q, "INFO") == 0) {
checkfg();
puts(p);
} else if (strcmp(q, "OK") == 0) {
checkfg();
exit(0);
} else if (strcmp(q, "OK") == 0) {
checkfg();
exit(0);
} else if (strcmp(q, "BGINFO") == 0) {
checkbg(&p);
puts(p);
} else if (strcmp(q, "BGINFO") == 0) {
checkbg(&p);
puts(p);
} else if (strcmp(q, "BGFAIL") == 0) {
checkbg(&p);
die(EXIT_FAILURE, "%s", p);
} else if (strcmp(q, "BGFAIL") == 0) {
checkbg(&p);
die(EXIT_FAILURE, "%s", p);
}
static void uline(char *p, size_t len, void *b)
}
static void uline(char *p, size_t len, void *b)