1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

added more signals to ignore in _init

This commit is contained in:
Will Song 2015-01-01 22:52:01 -06:00
parent ab75059703
commit e21bc7afe0
No known key found for this signature in database
GPG Key ID: AF0CA153EA5D9C7C

View File

@ -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();