mirror of
https://repo.or.cz/socat.git
synced 2025-07-18 00:53:25 +00:00
Print warning messages per default; new options -d0..-d4
This commit is contained in:
parent
dc777a00bb
commit
557f299b82
17 changed files with 115 additions and 62 deletions
|
@ -92,8 +92,10 @@ void childdied(int signum) {
|
|||
diag_in_handler = 0;
|
||||
errno = _errno;
|
||||
return;
|
||||
} else if (pid < 0 && errno == EINTR) {
|
||||
Info1("childdied(): %s", strerror(errno));
|
||||
} else if (pid < 0 && errno == ECHILD) {
|
||||
Msg(wassig?E_INFO:E_WARN,
|
||||
Msg(wassig?E_INFO:E_NOTICE,
|
||||
"waitpid(-1, {}, WNOHANG): "F_strerror);
|
||||
Info("childdied() finished");
|
||||
diag_in_handler = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue