Commit 3ca2ba52 by Nikolay Martynov Committed by Stéphane Graber

Add SIGPWR support to lxc_init

This patch adds SIGPWR support to lxc_init. This helps to properly shutdown lxc_init based containers. Signed-off-by: 's avatarNikolay Martynov <mar.kolya@gmail.com> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent d21bbd90
...@@ -209,6 +209,7 @@ int main(int argc, char *argv[]) ...@@ -209,6 +209,7 @@ int main(int argc, char *argv[])
case 0: case 0:
break; break;
case SIGPWR:
case SIGTERM: case SIGTERM:
if (!shutdown) { if (!shutdown) {
shutdown = 1; shutdown = 1;
......
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