]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
set exit status to 1 in the unknown si_code case
authorTycho Andersen <tycho@tycho.ws>
Fri, 19 Jan 2018 04:23:48 +0000 (04:23 +0000)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 19 Jan 2018 14:20:09 +0000 (15:20 +0100)
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
src/lxc/start.c

index dd366d13d3b8ca59c0c0168333cff6f17a251829..b779af2f1f0e5b340b4ac59ff87b8493db8eb3d4 100644 (file)
@@ -332,6 +332,7 @@ static int signal_handler(int fd, uint32_t events, void *data,
                        break;
                default:
                        ERROR("Unknown si_code: %d", hdlr->init_died);
+                       hdlr->exit_status = 1;
                }
        }