From 5e8c65b87ea7c90add2712ed983621833c5fe6a4 Mon Sep 17 00:00:00 2001 From: Chris Lee <@klee93> Date: Sat, 1 May 2021 19:12:28 +0200 Subject: [PATCH] remove useless fsync --- src/util/signals.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util/signals.c b/src/util/signals.c index 49f45b7..eb8921c 100644 --- a/src/util/signals.c +++ b/src/util/signals.c @@ -85,7 +85,6 @@ static void sigchld_handler(int sig) int savedErrno = errno; ssize_t unused = write(sigchild_pipe[1], "x", 1); (void)unused; - fsync(sigchild_pipe[1]); errno = savedErrno; }