mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 21:46:21 +00:00
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <signal.h>
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
@@ -365,6 +366,8 @@ _process_input(char *inp)
|
|||||||
static void
|
static void
|
||||||
_init(const int disable_tls, char *log_level)
|
_init(const int disable_tls, char *log_level)
|
||||||
{
|
{
|
||||||
|
// ignore SIGPIPE
|
||||||
|
signal(SIGPIPE, SIG_IGN);
|
||||||
_create_config_directory();
|
_create_config_directory();
|
||||||
log_level_t prof_log_level = _get_log_level(log_level);
|
log_level_t prof_log_level = _get_log_level(log_level);
|
||||||
log_init(prof_log_level);
|
log_init(prof_log_level);
|
||||||
|
|||||||
Reference in New Issue
Block a user