From 6581f9fb13ea7e2cc5a55899679a29c6f1388c8d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 1 Dec 2016 17:54:26 +0000 Subject: bugfix: s6-ipcclient's socket needs to be blocking --- src/conn-tools/s6-ipcclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ; -- cgit v1.2.3