diff options
Diffstat (limited to 'src/libs6/s6lockd.c')
-rw-r--r-- | src/libs6/s6lockd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs6/s6lockd.c b/src/libs6/s6lockd.c index ef088f9..22378e3 100644 --- a/src/libs6/s6lockd.c +++ b/src/libs6/s6lockd.c @@ -257,13 +257,13 @@ int main (int argc, char const *const *argv) /* 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") ; |