mirror of
https://github.com/irssi/irssi.git
synced 2024-09-08 04:26:01 -04:00
Or actually :) SIGINT shouldn't be ignored, it's used to detect Ctrl-C...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@269 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
676673e960
commit
6519b1ba58
@ -92,7 +92,6 @@ static void read_settings(void)
|
|||||||
|
|
||||||
ignores = settings_get_str("ignore_signals");
|
ignores = settings_get_str("ignore_signals");
|
||||||
signal(SIGHUP, find_substr(ignores, "hup") ? SIG_IGN : SIG_DFL);
|
signal(SIGHUP, find_substr(ignores, "hup") ? SIG_IGN : SIG_DFL);
|
||||||
signal(SIGINT, find_substr(ignores, "int") ? SIG_IGN : SIG_DFL);
|
|
||||||
signal(SIGQUIT, find_substr(ignores, "quit") ? SIG_IGN : SIG_DFL);
|
signal(SIGQUIT, find_substr(ignores, "quit") ? SIG_IGN : SIG_DFL);
|
||||||
signal(SIGTERM, find_substr(ignores, "term") ? SIG_IGN : SIG_DFL);
|
signal(SIGTERM, find_substr(ignores, "term") ? SIG_IGN : SIG_DFL);
|
||||||
signal(SIGPIPE, find_substr(ignores, "pipe") ? SIG_IGN : SIG_DFL);
|
signal(SIGPIPE, find_substr(ignores, "pipe") ? SIG_IGN : SIG_DFL);
|
||||||
|
Loading…
Reference in New Issue
Block a user