sigaction-failure is fatal
[hmcfgusb] / hmland.c
index 04ee740c2855104e4b42eeb4f2c7cad221be2c72..24fa34e4c28925c674e6871fad856fecfc2eac2c 100644 (file)
--- 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;
Impressum, Datenschutz