summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/daemon.c b/src/src/daemon.c
index 899aa0dab..78a4d8ec2 100644
--- a/src/src/daemon.c
+++ b/src/src/daemon.c
@@ -963,7 +963,7 @@ daemon_die(void)
{
int pid;
-#if defined(EXIM_HAVE_INOTIFY) || defined(EXIM_HAVE_KEVENT)
+#if !defined(DISABLE_TLS) && (defined(EXIM_HAVE_INOTIFY) || defined(EXIM_HAVE_KEVENT))
tls_watch_invalidate();
#endif