From: Michael Gernoth Date: Wed, 5 Jun 2013 12:13:30 +0000 (+0200) Subject: sigaction-failure is fatal X-Git-Tag: v0.100~85 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/commitdiff_plain/27f4063e297cb1d559d0bbacded740801f9bfc00 sigaction-failure is fatal --- 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;