summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/main.c b/main.c
index e0a274a..e5c7ad4 100644
--- a/main.c
+++ b/main.c
@@ -390,6 +390,8 @@ main (argc, argv, envp)
FATAL_SIG (SIGHUP);
FATAL_SIG (SIGQUIT);
FATAL_SIG (SIGINT);
+ FATAL_SIG (SIGTERM);
+
FATAL_SIG (SIGILL);
FATAL_SIG (SIGTRAP);
FATAL_SIG (SIGIOT);
@@ -400,10 +402,13 @@ main (argc, argv, envp)
FATAL_SIG (SIGDANGER);
#endif
FATAL_SIG (SIGFPE);
+#ifdef SIGBUS
FATAL_SIG (SIGBUS);
+#endif
FATAL_SIG (SIGSEGV);
+#ifdef SIGSYS
FATAL_SIG (SIGSYS);
- FATAL_SIG (SIGTERM);
+#endif
#ifdef SIGXCPU
FATAL_SIG (SIGXCPU);
#endif