diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-11-05 01:23:54 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-11-05 01:23:54 +0000 |
commit | 2bec8056d1b7c70ab5232f3f81595e3e93b53b59 (patch) | |
tree | c32b8426a4532cf7b5d05e9bc5366859279b53b6 /src/conn-tools | |
parent | d5dba4ad2a6dd6ca7362eb19c470ac3c55c9269e (diff) | |
download | s6-2bec8056d1b7c70ab5232f3f81595e3e93b53b59.tar.xz |
- s6-ioconnect bugfixv2.2.3.1
- version: 2.2.3.1
Diffstat (limited to 'src/conn-tools')
-rw-r--r-- | src/conn-tools/s6-ioconnect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn-tools/s6-ioconnect.c b/src/conn-tools/s6-ioconnect.c index a0217bb..01966cf 100644 --- a/src/conn-tools/s6-ioconnect.c +++ b/src/conn-tools/s6-ioconnect.c @@ -104,7 +104,7 @@ int main (int argc, char const *const *argv) { for (j = 0 ; j < 2 ; j++) if (ndelay_on(a[i][j].fd) == -1) strerr_diefu1sys(111, "ndelay_on") ; - if (!iobuffer_init(&b[i], a[i][0].fd, a[i][1].fd) < 0) strerr_diefu1sys(111, "iobuffer_init") ; + if (!iobuffer_init(&b[i], a[i][0].fd, a[i][1].fd)) strerr_diefu1sys(111, "iobuffer_init") ; } if (sig_ignore(SIGPIPE) == -1) strerr_diefu1sys(111, "sig_ignore") ; tain_now_g() ; |