summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/signal.c b/signal.c
index 1a46bac910..2c0003520e 100644
--- a/signal.c
+++ b/signal.c
@@ -941,6 +941,9 @@ Init_signal(void)
#ifdef SIGQUIT
install_sighandler(SIGQUIT, sighandler);
#endif
+#ifdef SIGTERM
+ install_sighandler(SIGTERM, sighandler);
+#endif
#ifdef SIGALRM
install_sighandler(SIGALRM, sighandler);
#endif