Unverified Commit 3ba824d2 by Tycho Andersen Committed by Christian Brauner

lxc-init: use SIGKILL after alarm timeout

d76e3e1a inadvertently switched the alarm timeout from sigterm to sigkill. We really want sigkill here, so let's bring it back. Signed-off-by: 's avatarTycho Andersen <tycho@tycho.ws>
parent 7dc9d017
......@@ -401,7 +401,7 @@ int main(int argc, char *argv[])
if (lxc_raw_getpid() != 1) {
kill_children(lxc_raw_getpid());
} else {
ret = kill(-1, SIGTERM);
ret = kill(-1, SIGKILL);
if (ret < 0)
DEBUG("%s - Failed to send SIGTERM to "
"all children", strerror(errno));
......
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