diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-01-06 19:50:51 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-01-06 19:50:51 +0100 |
commit | 7e2163dceab09694714f22d0c2548b79477f6f0a (patch) | |
tree | ed905bbce7bd7334e527c2152114999331b49a55 /rvnit.c | |
parent | b60d6eecb30db5d8c6c5411677a4c0a70d138653 (diff) | |
download | rvnit-7e2163dceab09694714f22d0c2548b79477f6f0a.tar.gz rvnit-7e2163dceab09694714f22d0c2548b79477f6f0a.tar.xz rvnit-7e2163dceab09694714f22d0c2548b79477f6f0a.zip |
write end of logging pipe doesn't need to be non-blocking
Diffstat (limited to 'rvnit.c')
-rw-r--r-- | rvnit.c | 2 |
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); } |