Update TODO

This commit is contained in:
sin 2014-09-28 18:35:55 +01:00
parent 30715f1eec
commit d4416d984b
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ main(int argc, char *argv[])
signal(SIGTERM, sigterm);
if (fifo) {
/* TODO: we should use O_RDONLY and re-open the fd on EOF */
fd = open(fifo, O_RDWR | O_NONBLOCK);
if (fd < 0)
eprintf("open %s:", fifo);