fixed bug with SIGPIPE @write, fixed some other big bugs

This commit is contained in:
2022-03-24 17:06:29 +03:00
parent 290934f798
commit 684a0616a4
14 changed files with 296 additions and 276 deletions

2
main.c
View File

@@ -47,7 +47,7 @@ void signals(int signo){
signal(signo, signals);
return;
}
DBG("Master killed with sig=%d", signo);
WARNX("Master killed with sig=%d", signo);
LOGERR("Master killed with sig=%d", signo);
if(!GP->client){
DBG("Unlink pid file");