s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

commit f287ac765101f21b530f1a9886e06976c165c922
parent 323a0318d44665205f8bcc8f0c1e9c5886a37f59
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Tue, 13 Jun 2017 16:25:11 +0000

 s6-ftrigrd: be silent when the client dies in the middle of an asyncout flush

 Also add ./configure output to .gitignore

Diffstat:
M.gitignore | 2++
Msrc/libs6/s6-ftrigrd.c | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore @@ -3,3 +3,5 @@ *.lo *.so *.so.* +config.mak +src/include/s6/config.h diff --git a/src/libs6/s6-ftrigrd.c b/src/libs6/s6-ftrigrd.c @@ -240,7 +240,7 @@ int main (void) if (!unixmessage_sender_flush(unixmessage_sender_x) && !error_isagain(errno)) { cleanup() ; - strerr_diefu1sys(111, "flush asyncout") ; + return 1 ; } /* scan listening ftrigs */