SIGKILL cannot be handled - geomyidae - A small C-based gopherd. HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit d1bda986e611c9ca93670ffa2d10aae178fb2067 DIR parent c5dfedcbd82163391ed046caa3b2764562b0c1cf HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 12 Aug 2023 20:23:28 +0200 SIGKILL cannot be handled "The signals SIGKILL and SIGSTOP cannot be caught or ignored." Signed-off-by: Christoph Lohmann <20h@r-36.net> Diffstat: M main.c | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) --- DIR diff --git a/main.c b/main.c @@ -464,7 +464,6 @@ sighandler(int sig) case SIGQUIT: case SIGABRT: case SIGTERM: - case SIGKILL: if (dosyslog) { closelog(); } else if (logfile != NULL && glfd != -1) { @@ -493,7 +492,6 @@ initsignals(void) signal(SIGQUIT, sighandler); signal(SIGABRT, sighandler); signal(SIGTERM, sighandler); - signal(SIGKILL, sighandler); signal(SIGPIPE, SIG_IGN); }