summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--monitor.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/monitor.c b/monitor.c
index 4479e0a03..2c9254182 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1853,13 +1853,8 @@ mm_init_compression(struct mm_master *mm)
1853static void 1853static void
1854monitor_socketpair(int *pair) 1854monitor_socketpair(int *pair)
1855{ 1855{
1856#ifdef HAVE_SOCKETPAIR
1857 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1) 1856 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1)
1858 fatal("%s: socketpair", __func__); 1857 fatal("%s: socketpair", __func__);
1859#else
1860 fatal("%s: UsePrivilegeSeparation=yes not supported",
1861 __func__);
1862#endif
1863 FD_CLOSEONEXEC(pair[0]); 1858 FD_CLOSEONEXEC(pair[0]);
1864 FD_CLOSEONEXEC(pair[1]); 1859 FD_CLOSEONEXEC(pair[1]);
1865} 1860}