diff --git a/client/client.c b/client/client.c index 841f91b..6e22757 100644 --- a/client/client.c +++ b/client/client.c @@ -572,7 +572,8 @@ static void signal_exit(int sig) signal(SIGINT, SIG_IGN); signal(SIGTERM, SIG_IGN); - write(pipefd[1], &signum, 1); + if (write(pipefd[1], &signum, 1) == -1) + ; } static int scan_process(struct process *process)