aboutsummaryrefslogtreecommitdiff
path: root/src/proone-bne.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/proone-bne.c')
-rw-r--r--src/proone-bne.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/proone-bne.c b/src/proone-bne.c
index e3165b6..20fb24b 100644
--- a/src/proone-bne.c
+++ b/src/proone-bne.c
@@ -4,6 +4,7 @@
#include <string.h>
#include <errno.h>
+#include <signal.h>
#include <unistd.h>
#include <fcntl.h>
#include <arpa/inet.h>
@@ -186,6 +187,8 @@ int main (const int argc, const char **args) {
pth_event_t ev_root = NULL;
prne_llist_t wkr_list;
+ signal(SIGPIPE, SIG_IGN);
+
prne_init_cred_dict(&dict);
prne_init_bne_param(&param);
prne_init_bin_archive(&ba);