diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/exim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/exim.c b/src/src/exim.c index 9072ffd54..c5de167c6 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -1923,6 +1923,7 @@ signal(SIGSEGV, segv_handler); /* log faults */ /* If running in a dockerized environment, the TERM signal is only delegated to the PID 1 if we request it by setting an signal handler */ + if (getpid() == 1) signal(SIGTERM, term_handler); /* SIGHUP is used to get the daemon to reconfigure. It gets set as appropriate |