diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-06 00:40:11 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-06 00:40:11 +0000 |
commit | 861bed98658c79a55bcfea8e7f9e706c4d610c8a (patch) | |
tree | 26b549278f9fda8d8eccd534dc55b7b4582cf924 /src/libs6/s6-ftrigrd.c | |
parent | 15cbf4b1a31289548dd7c37b3d1c502a08542604 (diff) | |
download | s6-861bed98658c79a55bcfea8e7f9e706c4d610c8a.tar.xz |
- bugfix in s6-ftrigrd and s6lockd, need to align with skalibs-2.1.0.0v2.0.0.1
- version increased to 2.0.0.1
Diffstat (limited to 'src/libs6/s6-ftrigrd.c')
-rw-r--r-- | src/libs6/s6-ftrigrd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs6/s6-ftrigrd.c b/src/libs6/s6-ftrigrd.c index f9b3201..7a32662 100644 --- a/src/libs6/s6-ftrigrd.c +++ b/src/libs6/s6-ftrigrd.c @@ -233,13 +233,13 @@ int main (void) /* client is reading */ if (x[1].revents & IOPAUSE_WRITE) - if ((unixmessage_sender_flush(unixmessage_sender_1) < 0) && !error_isagain(errno)) + if (!unixmessage_sender_flush(unixmessage_sender_1) && !error_isagain(errno)) { cleanup() ; strerr_diefu1sys(111, "flush stdout") ; } if (x[2].revents & IOPAUSE_WRITE) - if ((!unixmessage_sender_flush(unixmessage_sender_x) < 0) && !error_isagain(errno)) + if (!unixmessage_sender_flush(unixmessage_sender_x) && !error_isagain(errno)) { cleanup() ; strerr_diefu1sys(111, "flush asyncout") ; |