summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/init.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 106862a6d..00c57291f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-13 Peter Stephenson <pws@csr.com>
+
+ * 17931: Philippe Troin <phil@fifi.org>: Src/init.c: restore
+ ignoring of SIGTERM in interactive shells.
+
2002-11-12 Oliver Kiddle <opk@zsh.org>
* Zvi Har'El: Completion/Unix/Command/_rcs: complete also for rcsdiff
diff --git a/Src/init.c b/Src/init.c
index 67ed1815b..16965e019 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -904,6 +904,7 @@ init_signals(void)
#endif
if (interact) {
install_handler(SIGALRM);
+ signal_ignore(SIGTERM);
}
if (jobbing) {
signal_ignore(SIGTTOU);