From 27f4063e297cb1d559d0bbacded740801f9bfc00 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Wed, 5 Jun 2013 14:13:30 +0200 Subject: [PATCH 1/1] sigaction-failure is fatal --- hmland.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hmland.c b/hmland.c index 04ee740..24fa34e 100644 --- a/hmland.c +++ b/hmland.c @@ -403,6 +403,7 @@ static int socket_server(int port, int daemon) if (sigaction(SIGPIPE, &sact, NULL) == -1) { perror("sigaction"); + exit(EXIT_FAILURE); } impersonate_hmlanif = 1; -- 2.39.5