summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index 03f8dc74a..b66dc2a16 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1406,8 +1406,13 @@ mm_init_compression(struct mm_master *mm)
1406static void 1406static void
1407monitor_socketpair(int *pair) 1407monitor_socketpair(int *pair)
1408{ 1408{
1409#ifdef HAVE_SOCKETPAIR
1409 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1) 1410 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1)
1410 fatal("%s: socketpair", __FUNCTION__); 1411 fatal("%s: socketpair", __FUNCTION__);
1412#else
1413 fatal("%s: UsePrivilegeSeparation=yes not supported",
1414 __FUNCTION__);
1415#endif
1411 FD_CLOSEONEXEC(pair[0]); 1416 FD_CLOSEONEXEC(pair[0]);
1412 FD_CLOSEONEXEC(pair[1]); 1417 FD_CLOSEONEXEC(pair[1]);
1413} 1418}