From e21bc7afe0b22c423e2b5ba3fc5bbd19eb341a6e Mon Sep 17 00:00:00 2001 From: Will Song Date: Thu, 1 Jan 2015 22:52:01 -0600 Subject: added more signals to ignore in _init --- src/profanity.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/profanity.c b/src/profanity.c index fb352879..e53ac176 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -254,6 +254,8 @@ _init(const int disable_tls, char *log_level) setlocale(LC_ALL, ""); // ignore SIGPIPE signal(SIGPIPE, SIG_IGN); + signal(SIGINT, SIG_IGN); + signal(SIGTSTP, SIG_IGN); _create_directories(); log_level_t prof_log_level = log_level_from_string(log_level); prefs_load(); -- cgit 1.4.1-2-gfad0