diff options
Diffstat (limited to 'usr.sbin/unwindctl')
-rw-r--r-- | usr.sbin/unwindctl/unwindctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/unwindctl/unwindctl.c b/usr.sbin/unwindctl/unwindctl.c index 8200552a2bc..8e528049c17 100644 --- a/usr.sbin/unwindctl/unwindctl.c +++ b/usr.sbin/unwindctl/unwindctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: unwindctl.c,v 1.31 2024/11/21 13:17:02 claudio Exp $ */ +/* $OpenBSD: unwindctl.c,v 1.32 2024/11/21 13:21:34 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -181,7 +181,7 @@ main(int argc, char *argv[]) err(1, "write error"); while (!done) { - if ((n = imsgbuf_read(ibuf)) == -1 && errno != EAGAIN) + if ((n = imsgbuf_read(ibuf)) == -1) errx(1, "imsgbuf_read error"); if (n == 0) errx(1, "pipe closed"); |