diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-12-01 17:54:26 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-12-01 17:54:26 +0000 |
commit | 6581f9fb13ea7e2cc5a55899679a29c6f1388c8d (patch) | |
tree | 7afbf08d65f3ff691d2ca814127b9f44e4d7a498 /src/conn-tools | |
parent | 1c33c3a4447f90ef0c59ac839b48310efcbdca2e (diff) | |
download | s6-6581f9fb13ea7e2cc5a55899679a29c6f1388c8d.tar.xz |
bugfix: s6-ipcclient's socket needs to be blocking
Diffstat (limited to 'src/conn-tools')
-rw-r--r-- | src/conn-tools/s6-ipcclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn-tools/s6-ipcclient.c b/src/conn-tools/s6-ipcclient.c index 61864bc..c2352ae 100644 --- a/src/conn-tools/s6-ipcclient.c +++ b/src/conn-tools/s6-ipcclient.c @@ -36,7 +36,7 @@ int main (int argc, char const *const *argv, char const *const *envp) { char modif[24 + IPCPATH_MAX] = "PROTO=IPC\0IPCLOCALPATH=" ; unsigned int i = 23 ; - int s = ipc_stream() ; + int s = ipc_stream_b() ; if (s < 0) strerr_diefu1sys(111, "create socket") ; if (bindpath && (ipc_bind(s, bindpath) == -1)) strerr_diefu2sys(111, "bind socket to ", bindpath) ; |