mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-02 18:56:26 +00:00
lxc-init: use SIGKILL after alarm timeout
d76e3e1
inadvertently switched the alarm timeout from sigterm to sigkill.
We really want sigkill here, so let's bring it back.
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
This commit is contained in:
parent
cf73b78c0c
commit
60e324aa5b
@ -408,7 +408,7 @@ int main(int argc, char *argv[])
|
||||
if (mypid != 1) {
|
||||
kill_children(mypid);
|
||||
} else {
|
||||
ret = kill(-1, SIGTERM);
|
||||
ret = kill(-1, SIGKILL);
|
||||
if (ret < 0)
|
||||
DEBUG("%s - Failed to send SIGTERM to "
|
||||
"all children", strerror(errno));
|
||||
|
Loading…
Reference in New Issue
Block a user