From a005cb7790b4daed29d71562c2552ab3d9a937d4 Mon Sep 17 00:00:00 2001 From: "Ira W. Snyder" Date: Tue, 22 Jan 2008 23:53:26 -0800 Subject: [PATCH] Don't try to catch SIGKILL It is impossible to catch SIGKILL, so don't even bother trying... --- tilda.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tilda.c b/tilda.c index 25209fc..02b6848 100644 --- a/tilda.c +++ b/tilda.c @@ -203,7 +203,9 @@ tilda_signal_handlers_init () sigaction (SIGQUIT, &sa, NULL); sigaction (SIGABRT, &sa, NULL); sigaction (SIGTERM, &sa, NULL); - sigaction (SIGKILL, &sa, NULL); + + /* SIGKILL cannot be caught according to sigaction(2) and signal(7) */ + /* sigaction (SIGKILL, &sa, NULL); */ } int main (int argc, char *argv[]) -- 2.25.1