From d4416d984b525fc16daf233f60ae71eb1f07f85a Mon Sep 17 00:00:00 2001 From: sin Date: Sun, 28 Sep 2014 18:35:55 +0100 Subject: [PATCH] Update TODO --- respawn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/respawn.c b/respawn.c index 286e305..14e1ef0 100644 --- a/respawn.c +++ b/respawn.c @@ -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);