From 521eea85224b8f5b9ab2ae626308ea7170f7385c Mon Sep 17 00:00:00 2001 From: Sude Date: Thu, 9 Sep 2021 14:03:51 +0300 Subject: [PATCH] Ignore SIGPIPE It's possible to receive SIGPIPE sometimes which by default causes application to terminate. This makes the downloader ignore SIGPIPE. --- main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.cpp b/main.cpp index 21807a8..1a78994 100644 --- a/main.cpp +++ b/main.cpp @@ -15,6 +15,7 @@ #include #include #include +#include namespace bpo = boost::program_options; Config Globals::globalConfig; @@ -26,6 +27,13 @@ template void set_vm_value(std::map