From 7e2163dceab09694714f22d0c2548b79477f6f0a Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 6 Jan 2022 19:50:51 +0100 Subject: write end of logging pipe doesn't need to be non-blocking --- rvnit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/rvnit.c b/rvnit.c index 0626ce3..6cdf946 100644 --- a/rvnit.c +++ b/rvnit.c @@ -88,8 +88,6 @@ restart(int i) if (services[i].logfd[0] == -1) { pipe(services[i].logfd); fcntl(services[i].logfd[0], F_SETFL, O_NONBLOCK); - fcntl(services[i].logfd[1], F_SETFL, O_NONBLOCK); - write(newlogfd[1], "!", 1); } -- cgit 1.4.1