commit e6f8b23dbd5e9ef0a3d1328907cf90d33f0f8fae from: Omar Polo via: Thomas Adam date: Wed Aug 13 15:57:21 2025 UTC gotwebd: avoid needless close send_imsg() does a imsg_flush() too which will ensure the fd is sent over to the other process and close it on this side. If it fails we terminate anyway, so no need to close (doubly!) the fds. commit - 8bdc30366cc048d3406c876b14674f5bc1dfea94 commit + e6f8b23dbd5e9ef0a3d1328907cf90d33f0f8fae blob - c76f6606ef9cb25bd7c9a8911738fe8872edff91 blob + 3f292f3dc8ece7eb0acc253b9c88cdf86877dc02 --- gotwebd/gotwebd.c +++ gotwebd/gotwebd.c @@ -574,9 +574,6 @@ connect_children(struct gotwebd *env) if (send_imsg(iev2, GOTWEBD_IMSG_CTL_PIPE, pipe[1], NULL, 0)) fatal("send_imsg"); - - close(pipe[0]); - close(pipe[1]); } }