commit 6d3ee6a573cbed36117e77d6358171ca3474fd75 from: Stefan Sperling via: Thomas Adam date: Mon Apr 29 12:22:32 2024 UTC revert part of previous commit; the parent process is not ephemeral pointed out by op@ commit - 7ede118f9cfa7606ef662f8da69fb81ef6a4c8d0 commit + 6d3ee6a573cbed36117e77d6358171ca3474fd75 blob - df30502029283196eafd2f8d11138a848dc4f22a blob + f768c694591c53af7e3f81679d3e48d236dec701 --- gotd/notify.c +++ gotd/notify.c @@ -452,9 +452,9 @@ notify_dispatch(int fd, short event, void *arg) if (event & EV_WRITE) { n = msgbuf_write(&ibuf->w); - if (n == -1 && errno != EAGAIN && errno != EPIPE) + if (n == -1 && errno != EAGAIN) fatal("msgbuf_write"); - if (n == 0 || (n == -1 && errno == EPIPE)) { + if (n == 0) { /* Connection closed. */ shut = 1; goto done;