From 64316dd7248f7663a0779d3c5fdf2b010be302bb Mon Sep 17 00:00:00 2001 From: angt Date: Tue, 20 Oct 2015 17:00:59 +0200 Subject: [PATCH] Ignore SIGPIPE too --- glorytun.c | 1 + 1 file changed, 1 insertion(+) diff --git a/glorytun.c b/glorytun.c index 535663d..540ee8c 100644 --- a/glorytun.c +++ b/glorytun.c @@ -62,6 +62,7 @@ static int gt_set_signal (void) sa.sa_handler = SIG_IGN; sigaction(SIGHUP, &sa, NULL); + sigaction(SIGPIPE, &sa, NULL); } int main (int argc, char **argv)