diff options
Diffstat (limited to 'src/src/daemon.c')
-rw-r--r-- | src/src/daemon.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/src/daemon.c b/src/src/daemon.c index 05d94b188..c3ab735d0 100644 --- a/src/src/daemon.c +++ b/src/src/daemon.c @@ -1169,7 +1169,7 @@ const uschar * where; struct sockaddr_un sa_un = {.sun_family = AF_UNIX}; ssize_t len; -if (!notifier_socket || !*notifier_socket) +if (!f.notifier_socket_en) { DEBUG(D_any) debug_printf("-oY used so not creating notifier socket\n"); return; @@ -1180,6 +1180,11 @@ if (override_local_interfaces && !override_pid_file_path) debug_printf("-oX used without -oP so not creating notifier socket\n"); return; } +if (!notifier_socket || !*notifier_socket) + { + DEBUG(D_any) debug_printf("no name for notifier socket\n"); + return; + } DEBUG(D_any) debug_printf("creating notifier socket\n"); |