Command-line option for no notifier socket. Bug 2616
[users/heiko/exim.git] / src / src / daemon.c
index c376f27c766b6853ff4e1e17a533e45dc45f376e..f56e36a10e78938d04e0766d0912fd50fff50b00 100644 (file)
@@ -1007,6 +1007,11 @@ const uschar * where;
 struct sockaddr_un sa_un = {.sun_family = AF_UNIX};
 int len;
 
+if (!notifier_socket || !*notifier_socket)
+  {
+  DEBUG(D_any) debug_printf("-oY used so not creating notifier socket\n");
+  return;
+  }
 if (override_local_interfaces && !override_pid_file_path)
   {
   DEBUG(D_any)