summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-01-06 19:50:51 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-01-06 19:50:51 +0100
commit7e2163dceab09694714f22d0c2548b79477f6f0a (patch)
treeed905bbce7bd7334e527c2152114999331b49a55
parentb60d6eecb30db5d8c6c5411677a4c0a70d138653 (diff)
downloadrvnit-7e2163dceab09694714f22d0c2548b79477f6f0a.tar.gz
rvnit-7e2163dceab09694714f22d0c2548b79477f6f0a.tar.xz
rvnit-7e2163dceab09694714f22d0c2548b79477f6f0a.zip
write end of logging pipe doesn't need to be non-blocking
-rw-r--r--rvnit.c2
1 files changed, 0 insertions, 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);
 	}