summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-12-01 17:54:26 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-12-01 17:54:26 +0000
commit6581f9fb13ea7e2cc5a55899679a29c6f1388c8d (patch)
tree7afbf08d65f3ff691d2ca814127b9f44e4d7a498 /src
parent1c33c3a4447f90ef0c59ac839b48310efcbdca2e (diff)
downloads6-6581f9fb13ea7e2cc5a55899679a29c6f1388c8d.tar.xz
bugfix: s6-ipcclient's socket needs to be blocking
Diffstat (limited to 'src')
-rw-r--r--src/conn-tools/s6-ipcclient.c2
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) ;