about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-03 01:10:41 +0000
committerJames Booth <boothj5@gmail.com>2015-01-03 01:10:41 +0000
commit90b851c8483f4be3c7efb96a8324502958218f3a (patch)
tree502dac950b94430060fcc330bc1197ff567a1875
parent1a61b4faf40eeeddf23fe064775de3e628f19d42 (diff)
parent01892b28d65c4f963c69fa7b9625803437a57d63 (diff)
downloadprofani-tty-90b851c8483f4be3c7efb96a8324502958218f3a.tar.gz
Merge branch 'master' into title
-rw-r--r--src/profanity.c2
1 files changed, 2 insertions, 0 deletions
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();