mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 11:06:21 +00:00
added more signals to ignore in _init
This commit is contained in:
@@ -254,6 +254,8 @@ _init(const int disable_tls, char *log_level)
|
|||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
// ignore SIGPIPE
|
// ignore SIGPIPE
|
||||||
signal(SIGPIPE, SIG_IGN);
|
signal(SIGPIPE, SIG_IGN);
|
||||||
|
signal(SIGINT, SIG_IGN);
|
||||||
|
signal(SIGTSTP, SIG_IGN);
|
||||||
_create_directories();
|
_create_directories();
|
||||||
log_level_t prof_log_level = log_level_from_string(log_level);
|
log_level_t prof_log_level = log_level_from_string(log_level);
|
||||||
prefs_load();
|
prefs_load();
|
||||||
|
|||||||
Reference in New Issue
Block a user