Commit e3e54165 by Stéphane Graber Committed by GitHub

Merge pull request #1445 from brauner/2017-02-26/dumb_down_invalid_sigchld_warning

start: dumb down SIGCHLD from WARN() to NOTICE()
parents 8d7638c7 af4c0f05
...@@ -333,7 +333,7 @@ static int signal_handler(int fd, uint32_t events, void *data, ...@@ -333,7 +333,7 @@ static int signal_handler(int fd, uint32_t events, void *data,
* by a process different from the container init. * by a process different from the container init.
*/ */
if (siginfo.ssi_pid != *pid) { if (siginfo.ssi_pid != *pid) {
WARN("Invalid pid for SIGCHLD. Received pid %d, expected pid %d.", siginfo.ssi_pid, *pid); NOTICE("Received SIGCHLD from pid %d instead of container init %d.", siginfo.ssi_pid, *pid);
return init_died ? 1 : 0; return init_died ? 1 : 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment