1 parent 70be7a1 commit acf97a9Copy full SHA for acf97a9
1 file changed
src/pipexec.c
@@ -364,7 +364,6 @@ static void write_pid_file(char const *const pid_file) {
364
ITOCHAR(serrno, 16, errno);
365
logging(lid_internal, "tracing", "error", "Cannot open pid file", 2,
366
"error", strerror(errno), "errno", serrno);
367
- close(fd);
368
return;
369
}
370
ssize_t const written = write(fd, pbuf, plen);
0 commit comments