summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/SignalHandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SignalHandler.cpp b/src/SignalHandler.cpp
index 9051eeb0..2d32ac6d 100644
--- a/src/SignalHandler.cpp
+++ b/src/SignalHandler.cpp
@@ -71,6 +71,8 @@ SignalHandler::SignalHandler(Context& ctx) : m_ctx(ctx)
# ifdef SIGQUIT
register_signal_handler(SIGQUIT);
# endif
+
+ signal(SIGPIPE, SIG_IGN); // NOLINT: This is no error, clang-tidy
}
SignalHandler::~SignalHandler()