mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
be less verbose about children dying
This commit is contained in:
@@ -170,10 +170,7 @@ pid_t pid;
|
|||||||
(WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV)) {
|
(WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV)) {
|
||||||
if (WIFSIGNALED(status))
|
if (WIFSIGNALED(status))
|
||||||
syslog(LOG_ERR, "Child %u died with sigsegv\n", (unsigned)pid);
|
syslog(LOG_ERR, "Child %u died with sigsegv\n", (unsigned)pid);
|
||||||
else
|
}
|
||||||
syslog(LOG_DEBUG, "Child %u died with status %d\n", (unsigned)pid, WEXITSTATUS(status));
|
|
||||||
} else
|
|
||||||
syslog(LOG_DEBUG, "Child %u died peacefully\n", (unsigned)pid);
|
|
||||||
}
|
}
|
||||||
need_children_cleanup = 0;
|
need_children_cleanup = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user