commit 6581f9fb13ea7e2cc5a55899679a29c6f1388c8d
parent 1c33c3a4447f90ef0c59ac839b48310efcbdca2e
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Thu, 1 Dec 2016 17:54:26 +0000
bugfix: s6-ipcclient's socket needs to be blocking
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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) ;